Skip to content

Commit

Permalink
Fix automation gcs location (#803)
Browse files Browse the repository at this point in the history
* Fix automation gcs location

* also apply change to stage 01

Co-authored-by: Ludovico Magnocavallo <[email protected]>
  • Loading branch information
miklosn and ludoo authored Sep 9, 2022
1 parent 86cd08e commit b0b6510
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions fast/stages/00-bootstrap/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
4 changes: 2 additions & 2 deletions fast/stages/01-resman/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit b0b6510

Please sign in to comment.