confluent_private_link_attachment_connection Resource

General Availability

confluent_private_link_attachment_connection provides a Private Link Attachment Connection resource that enables creating, editing, and deleting Private Link Attachment Connections on Confluent Cloud.

Example Usage

resource "confluent_private_link_attachment_connection" "aws" {
  display_name = "my_endpoint"
  environment {
    id = "env-8gv0v5"
  }
  aws {
    vpc_endpoint_id = "vpce-0ed4d51f5d6ef9b6d"
  }
  private_link_attachment {
    id = "platt-plyvyl"
  }
}

resource confluent_private_link_attachment_connection "azure" {
  display_name = "prod-azure-central-us-az1-connection"
  environment {
    id = "env-12345"
  }
  azure {
    private_endpoint_resource_id = "/subscriptions/123aaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa/resourceGroups/testvpc/providers/Microsoft.Network/privateEndpoints/pe-platt-abcdef-az1"
  }
  private_link_attachment {
    id = "platt-abcdef"
  }
}

output "private_link_attachment_connection" {
  value = confluent_private_link_attachment_connection.aws
}

Argument Reference

The following arguments are supported:

Attributes Reference

In addition to the preceding arguments, the following attributes are exported:

Import

You can import a Private Link Attachment Connection by using Environment ID and Private Link Attachment Connection ID, in the format <Environment ID>/<Private Link Attachment Connection ID>. The following example shows how to import a Private Link Attachment Connection:

$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
$ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
$ terraform import confluent_private_link_attachment_connection.main env-abc123/plattc-abc123

Getting Started

The following end-to-end examples might help to get started with confluent_private_link_attachment_connection resource: