GoogleCloudPlatform / terraform-google-cloud-spanner

Deploy Spanner instances
https://registry.terraform.io/modules/GoogleCloudPlatform/cloud-spanner/google
Apache License 2.0
13 stars 7 forks source link

Examples should document and enable required services #13

Closed dtest closed 1 year ago

dtest commented 1 year ago

The KMS example will fail on a fresh project with services disabled. Specifically, it currently needs the following service APIs enabled:

Each example should document which service APIs are needed, and maybe provide the TF for enabling those services:

resource "google_project_service" "service_api" {
  for_each = toset(["cloudkms.googleapis.com",
                    "workflows.googleapis.com",
                    "spanner.googleapis.com",
                    "cloudscheduler.googleapis.com"])
  service  = each.value
  project  = var.project_id

  disable_on_destroy = false
}
dtest commented 1 year ago

I just noticed the main README has the service APIs documented. I'd still find it valuable to have the examples enable these services.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days