Tighten up security of automation project (CSPR-related) (#2009)

* enforce compute/iam policies on the automation project

* tests
This commit is contained in:
Ludovico Magnocavallo
2024-01-24 19:40:36 +01:00
committed by GitHub
parent 6b4dad01d6
commit c5416f3af1
4 changed files with 46 additions and 30 deletions

View File

@@ -59,6 +59,7 @@ resource "google_project_service" "project_services" {
service = each.value
disable_on_destroy = var.service_config.disable_on_destroy
disable_dependent_services = var.service_config.disable_dependent_services
depends_on = [google_org_policy_policy.default]
}
resource "google_compute_project_metadata_item" "default" {