From 9b8de3e415ec3b72091b4ec0d5e97d518e47743a Mon Sep 17 00:00:00 2001 From: Ludovico Magnocavallo Date: Mon, 6 Feb 2023 20:51:26 +0100 Subject: [PATCH] fix stage links, fix stage 1 output file names (#1134) --- fast/stage-links.sh | 4 ++-- fast/stages/1-resman/outputs.tf | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/fast/stage-links.sh b/fast/stage-links.sh index cfa7919d17..0334ed2f2e 100755 --- a/fast/stage-links.sh +++ b/fast/stage-links.sh @@ -73,8 +73,8 @@ case $STAGE_NAME in PROVIDER="tenants/${TENANT}/providers/1-resman-tenant-providers.tf" TFVARS="tenants/${TENANT}/tfvars/0-bootstrap-tenant.auto.tfvars.json" ;; -"2-"*) - PROVIDER="providers/multitenant/${STAGE_NAME}-providers.tf" +"2-networking"*) + PROVIDER="providers/2-networking-providers.tf" TFVARS="tfvars/0-bootstrap.auto.tfvars.json tfvars/1-resman.auto.tfvars.json" ;; diff --git a/fast/stages/1-resman/outputs.tf b/fast/stages/1-resman/outputs.tf index 62525399e8..80ec2b9df3 100644 --- a/fast/stages/1-resman/outputs.tf +++ b/fast/stages/1-resman/outputs.tf @@ -98,13 +98,13 @@ locals { ) providers = merge( { - "2-0-networking" = templatefile(local._tpl_providers, { + "2-networking" = templatefile(local._tpl_providers, { backend_extra = null bucket = module.branch-network-gcs.name name = "networking" sa = module.branch-network-sa.email }) - "2-0-security" = templatefile(local._tpl_providers, { + "2-security" = templatefile(local._tpl_providers, { backend_extra = null bucket = module.branch-security-gcs.name name = "security" @@ -112,13 +112,13 @@ locals { }) }, !var.fast_features.data_platform ? {} : { - "3-0-data-platform-dev" = templatefile(local._tpl_providers, { + "3-data-platform-dev" = templatefile(local._tpl_providers, { backend_extra = null bucket = module.branch-dp-dev-gcs.0.name name = "dp-dev" sa = module.branch-dp-dev-sa.0.email }) - "3-0-data-platform-prod" = templatefile(local._tpl_providers, { + "3-data-platform-prod" = templatefile(local._tpl_providers, { backend_extra = null bucket = module.branch-dp-prod-gcs.0.name name = "dp-prod" @@ -126,13 +126,13 @@ locals { }) }, !var.fast_features.gke ? {} : { - "3-0-gke-dev" = templatefile(local._tpl_providers, { + "3-gke-dev" = templatefile(local._tpl_providers, { backend_extra = null bucket = module.branch-gke-dev-gcs.0.name name = "gke-dev" sa = module.branch-gke-dev-sa.0.email }) - "3-0-gke-prod" = templatefile(local._tpl_providers, { + "3-gke-prod" = templatefile(local._tpl_providers, { backend_extra = null bucket = module.branch-gke-prod-gcs.0.name name = "gke-prod" @@ -140,13 +140,13 @@ locals { }) }, !var.fast_features.project_factory ? {} : { - "3-0-project-factory-dev" = templatefile(local._tpl_providers, { + "3-project-factory-dev" = templatefile(local._tpl_providers, { backend_extra = null bucket = module.branch-pf-dev-gcs.0.name name = "team-dev" sa = module.branch-pf-dev-sa.0.email }) - "3-0-project-factory-prod" = templatefile(local._tpl_providers, { + "3-project-factory-prod" = templatefile(local._tpl_providers, { backend_extra = null bucket = module.branch-pf-prod-gcs.0.name name = "team-prod" @@ -154,7 +154,7 @@ locals { }) }, !var.fast_features.sandbox ? {} : { - "9-0-sandbox" = templatefile(local._tpl_providers, { + "9-sandbox" = templatefile(local._tpl_providers, { backend_extra = null bucket = module.branch-sandbox-gcs.0.name name = "sandbox"