{% set config = merged_configs.get('google_compute_global_address', {}) %}
# Compliance: {{ compliance_comments.get('google_compute_global_address', []) | join(', ') }}
resource "google_compute_global_address" "main" {
  name          = "{{ config.get('name', '${var.project_id}-psc-address') }}"
  project       = var.project_id
  purpose       = "{{ config.get('purpose', 'VPC_PEERING') }}"
  address_type  = "{{ config.get('address_type', 'INTERNAL') }}"
  prefix_length = {{ config.get('prefix_length', 16) }}
  network       = google_compute_network.main.id
}
