Skip to content

Commit 4508e1d

Browse files
committed
fix location variables for 4-projects
1 parent f166b8b commit 4508e1d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

helpers/foundation-deployer/stages/apply.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,8 @@ func DeployProjectsStage(t testing.TB, s steps.Steps, tfvars GlobalTFVars, outpu
338338
}
339339
//for each environment
340340
envTfvars := ProjEnvTfvars{
341-
ProjectsKMSLocation: tfvars.ProjectsKMSLocation,
342-
ProjectsGCSLocation: tfvars.ProjectsGCSLocation,
341+
LocationKMS: tfvars.LocationKMS,
342+
LocationGCS: tfvars.LocationGCS,
343343
}
344344
for _, envfile := range []string{
345345
"development.auto.tfvars",

helpers/foundation-deployer/stages/data.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ type GlobalTFVars struct {
152152
EnableHubAndSpoke bool `hcl:"enable_hub_and_spoke"`
153153
EnableHubAndSpokeTransitivity bool `hcl:"enable_hub_and_spoke_transitivity"`
154154
CreateUniqueTagKey bool `hcl:"create_unique_tag_key"`
155-
ProjectsKMSLocation string `hcl:"projects_kms_location"`
156-
ProjectsGCSLocation string `hcl:"projects_gcs_location"`
155+
LocationKMS string `hcl:"location_kms"`
156+
LocationGCS string `hcl:"location_gcs"`
157157
CodeCheckoutPath string `hcl:"code_checkout_path"`
158158
FoundationCodePath string `hcl:"foundation_code_path"`
159159
ValidatorProjectId *string `hcl:"validator_project_id"`
@@ -250,8 +250,8 @@ type ProjSharedTfvars struct {
250250
}
251251

252252
type ProjEnvTfvars struct {
253-
ProjectsKMSLocation string `hcl:"projects_kms_location"`
254-
ProjectsGCSLocation string `hcl:"projects_gcs_location"`
253+
LocationKMS string `hcl:"location_kms"`
254+
LocationGCS string `hcl:"location_gcs"`
255255
}
256256

257257
type AppInfraCommonTfvars struct {

0 commit comments

Comments
 (0)