confluent_environments
describes a data source for Environments.
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_environments" "main" {}
output "environments" {
value = data.confluent_environments.main.ids
}
The following arguments are supported:
In addition to the preceding arguments, the following attributes are exported:
ids
- (Required List of Strings) The list of Environment IDs, for example: ["env-abc123", "env-abc124"]
.