confluent_group_mapping
describes a Group Mapping 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_group_mapping" "example_using_id" {
id = "group-abc123"
}
output "example_using_id" {
value = data.confluent_group_mapping.example_using_id
}
data "confluent_group_mapping" "example_using_name" {
display_name = "Default"
}
The following arguments are supported:
id
- (Optional String) The ID of the Group Mapping.display_name
- (Optional String) The name of the Group Mapping.The following attributes are exported:
id
- (Required String) The ID of the Group Mapping (for example, group-abc123
).display_name
- (Required String) The name of the Group Mapping.filter
- (Required String) A single group identifier or a condition based on supported CEL operators that defines which groups are included.description
- (Required String) A description explaining the purpose and use of the group mapping.