{% set config = merged_configs.get('google_service_networking_connection', {}) %}
# Compliance: {{ compliance_comments.get('google_service_networking_connection', []) | join(', ') }}
resource "google_service_networking_connection" "main" {
  network                 = google_compute_network.main.id
  service                 = "{{ config.get('service', 'servicenetworking.googleapis.com') }}"
  reserved_peering_ranges = [google_compute_global_address.main.name]
}
