From 64a3642844093f5d64b8060be1ab1b8f9801e86a Mon Sep 17 00:00:00 2001 From: Alexanderamiri Date: Fri, 23 Oct 2026 17:33:33 +0200 Subject: [PATCH] fix(ci): pass every module's Lambda zips from plan to apply The apply job only downloaded lambdas/builds/, so applying the saved plan failed once a Lambda lived in another module (auth_claims in identity/): reading ZIP file identity/builds/auth_claims.zip: no such file. Co-Authored-By: Claude Opus 5.5 (1M context) --- .github/workflows/platform-ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/platform-ci.yml b/.github/workflows/platform-ci.yml index 6561e16..fb82a33 100644 --- a/.github/workflows/platform-ci.yml +++ b/.github/workflows/platform-ci.yml @@ -154,7 +154,10 @@ jobs: uses: actions/upload-artifact@v7 with: name: lambda-zips - path: ${{ env.TF_ROOT }}/lambdas/builds/ + # Every module's archive_file output (lambdas/, identity/, ...). + # Paths are kept relative to TF_ROOT, the part before the wildcard. + path: ${{ env.TF_ROOT }}/*/builds/*.zip + if-no-files-found: error retention-days: 1 # ---------------------------------------------------------------- @@ -216,7 +219,7 @@ jobs: uses: actions/download-artifact@v8 with: name: lambda-zips - path: ${{ env.TF_ROOT }}/lambdas/builds/ + path: ${{ env.TF_ROOT }}/ - name: Download plan from S3 working-directory: ${{ env.TF_ROOT }}