confluent_private_link_attachment Resource

General Availability

confluent_private_link_attachment provides a Private Link Attachment resource that enables creating, editing, and deleting Private Link Attachments on Confluent Cloud.

Example Usage

resource "confluent_private_link_attachment" "main" {
  cloud = "AWS"
  region = "us-west-2"
  display_name = "staging-platt"
  environment {
    id = "env-3732nw"
  }
}

output "private_link_attachment" {
  value = confluent_private_link_attachment.main
}

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 by using Environment ID and Private Link Attachment ID, in the format <Environment ID>/<Private Link Attachment ID>. The following example shows how to import a Private Link Attachment:

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

Getting Started

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