{% set config = merged_configs.get('google_dns_managed_zone', {}) %}
# Compliance: {{ compliance_comments.get('google_dns_managed_zone', []) | join(', ') }}
resource "google_dns_managed_zone" "main" {
  name        = "{{ config.get('name', '${var.project_id}-zone') }}"
  project     = var.project_id
  dns_name    = "{{ config.get('dns_name', 'example.com.') }}"
  description = "{{ config.get('description', 'Managed by ComplyForm') }}"
  visibility  = "{{ config.get('visibility', 'public') }}"

  dnssec_config {
    state = "{{ config.get('dnssec_state', 'on') }}"
  }
}
