{% set config = merged_configs.get('google_spanner_instance', {}) %}
# Compliance: {{ compliance_comments.get('google_spanner_instance', []) | join(', ') }}
resource "google_spanner_instance" "main" {
  name             = "{{ config.get('name', '${var.project_id}-spanner') }}"
  project          = var.project_id
  config           = "{{ config.get('config', 'regional-${var.region}') }}"
  display_name     = "{{ config.get('display_name', 'Main Spanner Instance') }}"
  processing_units = {{ config.get('processing_units', 100) }}
}
