confluent_network_link_service
describes a Network Link Service 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_network_link_service" "nls" {
id = "nls-zyw30"
environment {
id = "env-1234"
}
}
output "network_link_service" {
value = data.confluent_network_link_service.nls
}
The following arguments are supported:
id
- (Required String) The ID of the Network Link Service, for example, nls-zyw30
.environment
(Required Configuration Block) supports the following:
id
- (Required String) The ID of the Environment that the Network Link Service belongs to, for example, env-1234
.In addition to the preceding arguments, the following attributes are exported:
display_name
- (Optional String) The name of the Network Link Service.description
- (Optional String) The description of the Network Link Service.network
(Required Configuration Block) supports the following:
id
- (Required String) The ID of the Network that the Network Link Service belongs to, for example, n-abc123
.accept
(Optional Configuration Block) supports the following:
environments
- (Optional List of Strings) List of environments ids from which connections can be accepted. All networks within the list of environment will be allowed.networks
- (Optional List of Strings) List of network ids from which connections can be accepted.resource_name
(Required String) The Confluent Resource Name of the Network Link Service.