# Google CloudのAPIを有効化 resource "google_project_service" "services" { for_each = toset([ "run.googleapis.com", "cloudfunctions.googleapis.com", ]) service = each.key }