confluent_schema_registry_region
describes a Schema Registry cluster 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_schema_registry_region" "example" {
cloud = "AWS"
region = "us-east-2"
package = "ESSENTIALS"
}
output "example" {
value = data.confluent_schema_registry_region.example
}
The following arguments are supported:
cloud
- (Required String) The cloud service provider that hosts the region. Accepted values are: AWS
, AZURE
, and GCP
.region
- (Required String) The cloud service provider region, for example, us-east-2
. See Cloud Providers and Regions for a full list of options for AWS, Azure, and GCP.package
(Required String) The type of the billing package. Accepted values are: ESSENTIALS
and ADVANCED
.In addition to the preceding arguments, the following attributes are exported:
id
- (Required String) The ID of the Schema Registry region, for example, sgreg-1
.