From 6f52827f73d6bf37c37743347866ac29e686cad6 Mon Sep 17 00:00:00 2001 From: Chris Taylor Date: Tue, 17 Jun 2025 11:49:21 -0500 Subject: [PATCH 1/6] Read versions from .tool-versions file --- .github/workflows/deploy-sandbox.yml | 15 ++++++++++----- .github/workflows/release-published.yml | 9 +++++++-- .tool-versions | 2 ++ 3 files changed, 19 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy-sandbox.yml b/.github/workflows/deploy-sandbox.yml index cd3aacd..a1ea670 100644 --- a/.github/workflows/deploy-sandbox.yml +++ b/.github/workflows/deploy-sandbox.yml @@ -5,15 +5,20 @@ on: branches: [ "**" ] jobs: + get-tg-versions: + permissions: + contents: read + uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-versions.yml@0.1.4 + build-matrix: permissions: contents: read - uses: launchbynttdata/launch-workflows/.github/workflows/reusable-github-matrix-tg.yml@0.1.3 + uses: launchbynttdata/launch-workflows/.github/workflows/reusable-github-matrix-tg.yml@0.1.4 with: platform_environment: sandbox call-terragrunt-deploy: - needs: build-matrix + needs: [get-tg-versions, build-matrix] permissions: contents: read id-token: write @@ -21,10 +26,10 @@ jobs: fail-fast: false matrix: ${{ fromJson(needs.build-matrix.outputs.matrix) }} - uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-deploy.yml@0.1.3 + uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-deploy.yml@0.1.4 with: - tf_version: '1.5.5' - tg_version: '0.54.11' + tf_version: ${{ needs.get-tg-versions.outputs.tf_version }} + tg_version: ${{ needs.get-tg-versions.outputs.tg_version }} environment: ${{ matrix.terragrunt_environment.environment }} region: ${{ matrix.terragrunt_environment.region }} env_id: ${{ matrix.terragrunt_environment.instance }} diff --git a/.github/workflows/release-published.yml b/.github/workflows/release-published.yml index b201e36..b1fb160 100644 --- a/.github/workflows/release-published.yml +++ b/.github/workflows/release-published.yml @@ -6,10 +6,15 @@ on: name: Deploy to Production jobs: + get-tg-versions: + permissions: + contents: read + uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-versions.yml@0.1.4 + build-matrix: permissions: contents: read - uses: launchbynttdata/launch-workflows/.github/workflows/reusable-github-matrix-tg.yml@0.1.3 + uses: launchbynttdata/launch-workflows/.github/workflows/reusable-github-matrix-tg.yml@0.1.4 with: platform_environment: production @@ -22,7 +27,7 @@ jobs: fail-fast: false matrix: ${{ fromJson(needs.build-matrix.outputs.matrix) }} - uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-deploy.yml@0.1.3 + uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-deploy.yml@0.1.4 with: tf_version: '1.5.5' tg_version: '0.54.11' diff --git a/.tool-versions b/.tool-versions index 60d2f02..3b06445 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1,3 @@ python 3.13.1 +terraform 1.5.5 +terragrunt 0.54.11 From 2c51d5d55b08094b6e596a718602c4bace5d9bf4 Mon Sep 17 00:00:00 2001 From: Chris Taylor Date: Tue, 17 Jun 2025 11:53:49 -0500 Subject: [PATCH 2/6] Bump workflow versions --- .github/workflows/deploy-sandbox.yml | 6 +++--- .github/workflows/release-published.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy-sandbox.yml b/.github/workflows/deploy-sandbox.yml index a1ea670..58653e8 100644 --- a/.github/workflows/deploy-sandbox.yml +++ b/.github/workflows/deploy-sandbox.yml @@ -8,12 +8,12 @@ jobs: get-tg-versions: permissions: contents: read - uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-versions.yml@0.1.4 + uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-versions.yml@0.1.45 build-matrix: permissions: contents: read - uses: launchbynttdata/launch-workflows/.github/workflows/reusable-github-matrix-tg.yml@0.1.4 + uses: launchbynttdata/launch-workflows/.github/workflows/reusable-github-matrix-tg.yml@0.1.5 with: platform_environment: sandbox @@ -26,7 +26,7 @@ jobs: fail-fast: false matrix: ${{ fromJson(needs.build-matrix.outputs.matrix) }} - uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-deploy.yml@0.1.4 + uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-deploy.yml@0.1.5 with: tf_version: ${{ needs.get-tg-versions.outputs.tf_version }} tg_version: ${{ needs.get-tg-versions.outputs.tg_version }} diff --git a/.github/workflows/release-published.yml b/.github/workflows/release-published.yml index b1fb160..49ec533 100644 --- a/.github/workflows/release-published.yml +++ b/.github/workflows/release-published.yml @@ -9,12 +9,12 @@ jobs: get-tg-versions: permissions: contents: read - uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-versions.yml@0.1.4 + uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-versions.yml@0.1.5 build-matrix: permissions: contents: read - uses: launchbynttdata/launch-workflows/.github/workflows/reusable-github-matrix-tg.yml@0.1.4 + uses: launchbynttdata/launch-workflows/.github/workflows/reusable-github-matrix-tg.yml@0.1.5 with: platform_environment: production @@ -27,7 +27,7 @@ jobs: fail-fast: false matrix: ${{ fromJson(needs.build-matrix.outputs.matrix) }} - uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-deploy.yml@0.1.4 + uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-deploy.yml@0.1.5 with: tf_version: '1.5.5' tg_version: '0.54.11' From bb5d42a6edc2b23c5579bcb5ebf8205bcd18f589 Mon Sep 17 00:00:00 2001 From: Chris Taylor Date: Tue, 17 Jun 2025 11:54:36 -0500 Subject: [PATCH 3/6] Bump workflow versions --- .github/workflows/deploy-sandbox.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-sandbox.yml b/.github/workflows/deploy-sandbox.yml index 58653e8..a003db7 100644 --- a/.github/workflows/deploy-sandbox.yml +++ b/.github/workflows/deploy-sandbox.yml @@ -8,7 +8,7 @@ jobs: get-tg-versions: permissions: contents: read - uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-versions.yml@0.1.45 + uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-versions.yml@0.1.5 build-matrix: permissions: From 86d00e9eae1cca206754d1d30454b3a690408fd8 Mon Sep 17 00:00:00 2001 From: Chris Taylor Date: Tue, 17 Jun 2025 11:59:05 -0500 Subject: [PATCH 4/6] Bump workflow versions --- .github/workflows/deploy-sandbox.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-sandbox.yml b/.github/workflows/deploy-sandbox.yml index a003db7..10f0257 100644 --- a/.github/workflows/deploy-sandbox.yml +++ b/.github/workflows/deploy-sandbox.yml @@ -8,12 +8,12 @@ jobs: get-tg-versions: permissions: contents: read - uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-versions.yml@0.1.5 + uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-versions.yml@0.1.6 build-matrix: permissions: contents: read - uses: launchbynttdata/launch-workflows/.github/workflows/reusable-github-matrix-tg.yml@0.1.5 + uses: launchbynttdata/launch-workflows/.github/workflows/reusable-github-matrix-tg.yml@0.1.6 with: platform_environment: sandbox @@ -26,7 +26,7 @@ jobs: fail-fast: false matrix: ${{ fromJson(needs.build-matrix.outputs.matrix) }} - uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-deploy.yml@0.1.5 + uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-deploy.yml@0.1.6 with: tf_version: ${{ needs.get-tg-versions.outputs.tf_version }} tg_version: ${{ needs.get-tg-versions.outputs.tg_version }} From 0454b63eddd4420d7c3908eba7075384661ae12c Mon Sep 17 00:00:00 2001 From: Chris Taylor Date: Tue, 17 Jun 2025 12:21:41 -0500 Subject: [PATCH 5/6] Bump workflow versions --- .github/workflows/deploy-sandbox.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-sandbox.yml b/.github/workflows/deploy-sandbox.yml index 10f0257..a57f25d 100644 --- a/.github/workflows/deploy-sandbox.yml +++ b/.github/workflows/deploy-sandbox.yml @@ -8,12 +8,12 @@ jobs: get-tg-versions: permissions: contents: read - uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-versions.yml@0.1.6 + uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-versions.yml@0.1.7 build-matrix: permissions: contents: read - uses: launchbynttdata/launch-workflows/.github/workflows/reusable-github-matrix-tg.yml@0.1.6 + uses: launchbynttdata/launch-workflows/.github/workflows/reusable-github-matrix-tg.yml@0.1.7 with: platform_environment: sandbox @@ -26,7 +26,7 @@ jobs: fail-fast: false matrix: ${{ fromJson(needs.build-matrix.outputs.matrix) }} - uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-deploy.yml@0.1.6 + uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-deploy.yml@0.1.7 with: tf_version: ${{ needs.get-tg-versions.outputs.tf_version }} tg_version: ${{ needs.get-tg-versions.outputs.tg_version }} From d244acbebd81f909c6fb8f05c2c04410b0a3e015 Mon Sep 17 00:00:00 2001 From: Chris Taylor Date: Tue, 17 Jun 2025 12:23:50 -0500 Subject: [PATCH 6/6] Bump workflow versions --- .github/workflows/release-published.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-published.yml b/.github/workflows/release-published.yml index 49ec533..96390b3 100644 --- a/.github/workflows/release-published.yml +++ b/.github/workflows/release-published.yml @@ -9,12 +9,12 @@ jobs: get-tg-versions: permissions: contents: read - uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-versions.yml@0.1.5 + uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-versions.yml@0.1.7 build-matrix: permissions: contents: read - uses: launchbynttdata/launch-workflows/.github/workflows/reusable-github-matrix-tg.yml@0.1.5 + uses: launchbynttdata/launch-workflows/.github/workflows/reusable-github-matrix-tg.yml@0.1.7 with: platform_environment: production @@ -27,7 +27,7 @@ jobs: fail-fast: false matrix: ${{ fromJson(needs.build-matrix.outputs.matrix) }} - uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-deploy.yml@0.1.5 + uses: launchbynttdata/launch-workflows/.github/workflows/reusable-terragrunt-deploy.yml@0.1.7 with: tf_version: '1.5.5' tg_version: '0.54.11'