Skip to content

Commit bce4990

Browse files
fix!: Update 'location' parameter for Gen2 compatibility (#1459)
Co-authored-by: Guilherme Hosoda <guilhermehr@ciandt.com>
1 parent a44be81 commit bce4990

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • 1-org/modules/cai-monitoring

1-org/modules/cai-monitoring/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,13 @@ resource "google_scc_v2_organization_source" "cai_monitoring" {
142142
// Cloud Function
143143
module "cloud_function" {
144144
source = "GoogleCloudPlatform/cloud-functions/google"
145-
version = "~> 0.6"
145+
version = "~> 0.8.0"
146146

147147
function_name = "caiMonitoring"
148148
description = "Check on the Organization for members (users, groups and service accounts) that contains the IAM roles listed."
149149
project_id = var.project_id
150150
labels = var.labels
151-
function_location = var.location
151+
location = var.location
152152
runtime = "nodejs20"
153153
entrypoint = "caiMonitoring"
154154
docker_repository = google_artifact_registry_repository.cloudfunction.id

0 commit comments

Comments
 (0)