confluent_dns_record
describes a DNS Record 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_dns_record" "main" {
id = "dnsrec-abc123"
environment {
id = "env-123abc"
}
}
output "dns_record" {
value = data.confluent_dns_record.main
}
The following arguments are supported:
id
- (Required String) The ID of the DNS Record, for example, dnsrec-abc123
.environment
(Required Configuration Block) supports the following:
id
- (Required String) The ID of the Environment that the DNS Record 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 DNS Record.gateway
(Required Configuration Block) supports the following:
id
- (Required String) The ID of the gateway to which the DNS Record belongs, for example, gw-abc123
.domain
- (Required String) The fully qualified domain name of the DNS Record.private_link_access_point
(Required Configuration Block) supports the following:
id
- (Required String) The ID of the Private Link access point to which the DNS Record is associated, for example ap-123abc
.