confluent_dns_record Data Source

General Availability

confluent_dns_record describes a DNS Record data source.

Example Usage

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
}

Argument Reference

The following arguments are supported:

Attributes Reference

In addition to the preceding arguments, the following attributes are exported: