Fix automation gcs location (#803)

* Fix automation gcs location

* also apply change to stage 01

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
This commit is contained in:
Miklos Niedermayer 2022-09-09 07:18:44 +02:00 committed by GitHub
parent 86cd08e283
commit b0b6510aed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -16,8 +16,8 @@
locals {
gcs_storage_class = (
length(split("-", var.locations.gcs)) > 1
? "MULTI-REGIONAL"
length(split("-", var.locations.gcs)) < 2
? "MULTI_REGIONAL"
: "REGIONAL"
)
groups = {

View File

@ -67,8 +67,8 @@ locals {
}
custom_roles = coalesce(var.custom_roles, {})
gcs_storage_class = (
length(split("-", var.locations.gcs)) > 1
? "MULTI-REGIONAL"
length(split("-", var.locations.gcs)) < 2
? "MULTI_REGIONAL"
: "REGIONAL"
)
groups = {