Skip to content
Snippets Groups Projects
dns.tf 605 B
Newer Older
resource "google_dns_record_set" "holi_social_unified_api_domain_record_set" {
  project      = data.terraform_remote_state.holi_infra_state.outputs.shared_project_id
  managed_zone = data.terraform_remote_state.holi_unified_api_common_state.outputs.dns_unified_api_domain_name
  name         = "${google_cloud_run_domain_mapping.holi_social_unified_api.name}."
  type         = google_cloud_run_domain_mapping.holi_social_unified_api.status[0].resource_records[0].type
  ttl          = 300
  rrdatas      = [google_cloud_run_domain_mapping.holi_social_unified_api.status[0].resource_records[0].rrdata]
}