confluent_gateway
describes a Gateway 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_gateway" "main" {
id = "gw-abc123"
environment {
id = "env-123abc"
}
}
output "gateway" {
value = data.confluent_gateway.main
}
The following arguments are supported:
id
- (Required String) The ID of the Gateway, for example, gw-abc123
.environment
(Required Configuration Block) supports the following:
id
- (Required String) The ID of the Environment that the Gateway belongs to, for example, env-123abc
.In addition to the preceding arguments, the following attributes are exported:
display_name
- (Required String) A human-readable name for the Gateway.aws_egress_private_link_gateway
(Optional Configuration Block) supports the following:
region
- (Required String) AWS region of the Egress Private Link Gateway.principal_arn
- (Required String) The principal ARN used by the AWS Egress Private Link Gateway.aws_peering_gateway
(Optional Configuration Block) supports the following:
region
- (Required String) AWS region of the Peering Gateway.azure_egress_private_link_gateway
(Optional Configuration Block) supports the following:
region
- (Required String) Azure region of the Egress Private Link Gateway.subscription
- (Required String) The Azure Subscription ID associated with the Confluent Cloud VPC.azure_peering_gateway
(Optional Configuration Block) supports the following:
region
- (Required String) Azure region of the Peering Gateway.