Skip to content

Commit

Permalink
Try referencing env
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCutter committed Aug 20, 2024
1 parent 254df25 commit ab8c657
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deployment/live/gcp/example-gcp/terragrunt.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ locals {
env = path_relative_to_include()
project_id = get_env("GOOGLE_PROJECT", "trillian-tessera")
location = get_env("GOOGLE_REGION", "us-central1")
base_name = get_env("TESSERA_BASE_NAME", "${path_relative_to_include()}-example-gcp")
base_name = get_env("TESSERA_BASE_NAME", "${local.env}-example-gcp")
}

remote_state {
Expand All @@ -16,7 +16,7 @@ remote_state {
project = local.project_id
location = local.location
bucket = "${local.project_id}-${local.base_name}-terraform-state"
prefix = "${path_relative_to_include()}/terraform.tfstate"
prefix = "${local.env}/terraform.tfstate"

gcs_bucket_labels = {
name = "terraform_state_storage"
Expand Down

0 comments on commit ab8c657

Please sign in to comment.