confluent_private_link_access
describes a Private Link Access data source.
provider "confluent" {
cloud_api_key = var.confluent_cloud_api_key # optionally use CONFLUENT_CLOUD_API_KEY env var
cloud_api_secret = var.confluent_cloud_api_secret # optionally use CONFLUENT_CLOUD_API_SECRET env var
}
data "confluent_private_link_access" "example_using_id" {
id = "pla-abc123"
environment {
id = "env-xyz456"
}
}
output "example_using_id" {
value = data.confluent_private_link_access.example_using_id
}
data "confluent_private_link_access" "example_using_name" {
display_name = "my_pla"
environment {
id = "env-xyz456"
}
}
output "example_using_name" {
value = data.confluent_private_link_access.example_using_name
}
The following arguments are supported:
id
- (Optional String) The ID of the Private Link Access, for example, pla-abc123
.display_name
- (Optional String) A human-readable name for the Private Link Access.environment
(Required Configuration Block) supports the following:
id
- (Required String) The ID of the Environment that the Private Link Access belongs to, for example, env-xyz456
.In addition to the preceding arguments, the following attributes are exported:
id
- (Required String) The ID of the Network, for example, n-abc123
.display_name
- (Optional String) The name of the Private Link Access.environment
(Required Configuration Block) supports the following:
id
- (Required String) The ID of the Environment that the Private Link Access belongs to, for example, env-abc123
.network
(Required Configuration Block) supports the following:
id
- (Required String) The ID of the Network that the Private Link Access belongs to, for example, n-abc123
.aws
- (Optional Configuration Block) The AWS-specific Private Link Access details if available. It supports the following:
account
- (Required String) The AWS account ID to enable for the Private Link Access. You can find your AWS account ID here under My Account in your AWS Management Console. Must be a 12 character string.azure
- (Optional Configuration Block) The Azure-specific Private Link Access details if available. It supports the following:
subscription
- (Required String) The Azure subscription ID to enable for the Private Link Access. You can find your Azure subscription ID in the subscription section of your Microsoft Azure Portal. Must be a valid 32 character UUID string.gcp
- (Optional Configuration Block) The GCP-specific Private Service Connect details if available. It supports the following:
project
- (Required String) The GCP project ID to allow for Private Service Connect access. You can find your Google Cloud Project ID under Project ID section of your Google Cloud Console dashboard.