confluent_private_link_attachment
describes a Private Link Attachment data source.
data "confluent_private_link_attachment" "main" {
id = "platt-abcde"
environment {
id = "env-1234"
}
}
output "platt" {
value = data.confluent_private_link_attachment.main
}
The following arguments are supported:
id
- (Required String) The ID of the Private Link Attachment, for example, platt-61ovvd
.environment
(Required Configuration Block) supports the following:
id
- (Required String) The ID of the Environment that the Private Link Attachment belongs to, for example env-xyz456
.In addition to the preceding arguments, the following attributes are exported:
display_name
- (Optional String) The name of the Private Link Attachment.cloud
- (Optional String) The cloud service provider that hosts the resources to access with the Private Link Attachment.region
- (Optional String) The cloud service provider region where the resources to be accessed using the Private Link Attachment are located.resource_name
- (Required String) The Confluent Resource Name of the Private Link Attachment, for example crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-75gxp2/private-link-attachment=platt-1q0ky0
.dns_domain
- (Required String) The root DNS domain for the Private Link Attachment, for example, `pr123a.us-east-2.aws.confluent.aws
(Optional Configuration Block) supports the following:
vpc_endpoint_service_name
- (Required String) AWS VPC Endpoint Service that can be used to establish connections for all zones, for example com.amazonaws.vpce.us-west-2.vpce-svc-0d3be37e21708ecd3
.azure
(Optional Configuration Block) supports the following:
private_link_service_alias
- (Required String) Azure Private Link service alias for the availability zone.private_link_service_resource_id
- (Required String) Azure Private Link service resource id for the availability zone.The following end-to-end examples might help to get started with confluent_private_link_attachment
data source:
enterprise-privatelinkattachment-aws-kafka-acls
: _Enterprise_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLsenterprise-privatelinkattachment-azure-kafka-acls
: _Enterprise_ Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using ACLs