E2E: Align triggers location to the bucket
This commit is contained in:
2
tests/fixtures/gcs.tf
vendored
2
tests/fixtures/gcs.tf
vendored
@@ -17,7 +17,7 @@ module "gcs" {
|
||||
project_id = var.project_id
|
||||
prefix = var.prefix
|
||||
name = "my-bucket"
|
||||
location = "EU"
|
||||
location = var.region
|
||||
iam = {
|
||||
"roles/storage.admin" = ["serviceAccount:service-${var.project_number}@gcp-sa-pubsub.iam.gserviceaccount.com"]
|
||||
}
|
||||
|
||||
@@ -49,12 +49,12 @@ values:
|
||||
value: google.cloud.audit.log.v1.written
|
||||
name: audit-log-setiampolicy
|
||||
project: project-id
|
||||
service_account: cloud-run-trigger@my-project.iam.gserviceaccount.com
|
||||
service_account: fixture-service-account@project-id.iam.gserviceaccount.com
|
||||
|
||||
counts:
|
||||
google_cloud_run_v2_service: 1
|
||||
google_eventarc_trigger: 1
|
||||
modules: 1
|
||||
resources: 2
|
||||
modules: 2
|
||||
resources: 3
|
||||
|
||||
outputs: {}
|
||||
|
||||
@@ -69,6 +69,6 @@ counts:
|
||||
google_eventarc_trigger: 1
|
||||
google_service_account: 1
|
||||
modules: 1
|
||||
resources: 4
|
||||
resources: 5
|
||||
|
||||
outputs: {}
|
||||
|
||||
@@ -66,6 +66,6 @@ counts:
|
||||
google_eventarc_trigger: 1
|
||||
google_service_account: 1
|
||||
modules: 2
|
||||
resources: 6
|
||||
resources: 7
|
||||
|
||||
outputs: {}
|
||||
|
||||
@@ -68,6 +68,6 @@ counts:
|
||||
google_eventarc_trigger: 1
|
||||
google_service_account: 1
|
||||
modules: 2
|
||||
resources: 6
|
||||
resources: 7
|
||||
|
||||
outputs: {}
|
||||
|
||||
@@ -47,12 +47,12 @@ values:
|
||||
value: google.cloud.storage.object.v1.finalized
|
||||
name: storage-bucket-upload
|
||||
project: project-id
|
||||
service_account: null
|
||||
service_account: fixture-service-account@project-id.iam.gserviceaccount.com
|
||||
|
||||
counts:
|
||||
google_cloud_run_v2_service: 1
|
||||
google_eventarc_trigger: 1
|
||||
modules: 2
|
||||
resources: 4
|
||||
modules: 3
|
||||
resources: 6
|
||||
|
||||
outputs: {}
|
||||
|
||||
Reference in New Issue
Block a user