diff --git a/.github/workflows/infrastructure_version.txt b/.github/workflows/infrastructure_version.txt index e5798bdb9..1a8ae0ca7 100644 --- a/.github/workflows/infrastructure_version.txt +++ b/.github/workflows/infrastructure_version.txt @@ -1 +1 @@ -2.16.30 +2.16.33 diff --git a/.github/workflows/terragrunt_plan_production.yml b/.github/workflows/terragrunt_plan_production.yml index c99152e70..161f9556b 100644 --- a/.github/workflows/terragrunt_plan_production.yml +++ b/.github/workflows/terragrunt_plan_production.yml @@ -101,7 +101,7 @@ jobs: sudo dpkg -i 1pass.deb sudo mkdir -p aws cd aws - op read op://4eyyuwddp6w4vxlabrr2i2duxm/"TFVars - ${{env.ENVIRONMENT}}"/notesPlain > ${{env.ENVIRONMENT}}.tfvars + op read op://ppnxsriom3alsxj4ogikyjxlzi/"TFVars - ${{env.ENVIRONMENT}}"/notesPlain > ${{env.ENVIRONMENT}}.tfvars - name: Terragrunt plan ${{env.COMPONENT}} uses: cds-snc/terraform-plan@7f4ce4a4bdffaba639d32a45272804e37a569408 # v3.0.6 with: diff --git a/env/production/terragrunt.hcl b/env/production/terragrunt.hcl deleted file mode 100644 index 3859700a6..000000000 --- a/env/production/terragrunt.hcl +++ /dev/null @@ -1,25 +0,0 @@ -include { - path = find_in_parent_folders() -} - -terraform { - source = "${get_env("ENVIRONMENT") == "production" ? "git::https://github.com/cds-snc/notification-terraform//aws/ecr-us-east?ref=v${get_env("INFRASTRUCTURE_VERSION")}" : "../../../aws//ecr-us-east"}" - - after_hook "cleanup-admin" { - commands = ["apply"] - execute = ["rm", "-rfd", "/var/tmp/notification-admin"] - run_on_error = true - } - - after_hook "cleanup-api" { - commands = ["apply"] - execute = ["rm", "-rfd", "/var/tmp/notification-api"] - run_on_error = true - } - after_hook "cleanup-lambdas" { - commands = ["apply"] - execute = ["rm", "-rfd", "/var/tmp/notification-lambdas"] - run_on_error = true - } - -}