Skip to content

Commit

Permalink
fix location variables for 4-projects
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-cit committed Sep 4, 2024
1 parent f166b8b commit 4508e1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions helpers/foundation-deployer/stages/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,8 @@ func DeployProjectsStage(t testing.TB, s steps.Steps, tfvars GlobalTFVars, outpu
}
//for each environment
envTfvars := ProjEnvTfvars{
ProjectsKMSLocation: tfvars.ProjectsKMSLocation,
ProjectsGCSLocation: tfvars.ProjectsGCSLocation,
LocationKMS: tfvars.LocationKMS,
LocationGCS: tfvars.LocationGCS,
}
for _, envfile := range []string{
"development.auto.tfvars",
Expand Down
8 changes: 4 additions & 4 deletions helpers/foundation-deployer/stages/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ type GlobalTFVars struct {
EnableHubAndSpoke bool `hcl:"enable_hub_and_spoke"`
EnableHubAndSpokeTransitivity bool `hcl:"enable_hub_and_spoke_transitivity"`
CreateUniqueTagKey bool `hcl:"create_unique_tag_key"`
ProjectsKMSLocation string `hcl:"projects_kms_location"`
ProjectsGCSLocation string `hcl:"projects_gcs_location"`
LocationKMS string `hcl:"location_kms"`
LocationGCS string `hcl:"location_gcs"`
CodeCheckoutPath string `hcl:"code_checkout_path"`
FoundationCodePath string `hcl:"foundation_code_path"`
ValidatorProjectId *string `hcl:"validator_project_id"`
Expand Down Expand Up @@ -250,8 +250,8 @@ type ProjSharedTfvars struct {
}

type ProjEnvTfvars struct {
ProjectsKMSLocation string `hcl:"projects_kms_location"`
ProjectsGCSLocation string `hcl:"projects_gcs_location"`
LocationKMS string `hcl:"location_kms"`
LocationGCS string `hcl:"location_gcs"`
}

type AppInfraCommonTfvars struct {
Expand Down

0 comments on commit 4508e1d

Please sign in to comment.