Skip to content

Commit 00dd7d7

Browse files
committed
[NRL-793] Fix caching in TF apply step of perms pipeline
1 parent 3c80827 commit 00dd7d7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/update-lambda-permissions.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
echo "Deployed version matches this version: ${deployed_version}"
8181
8282
build-permissions:
83-
name: Build permissions for ${{ inputs.environment }}
83+
name: Build permissions
8484
runs-on: [self-hosted, ci]
8585
environment: ${{ inputs.environment }}
8686

@@ -130,7 +130,7 @@ jobs:
130130
path: dist/nrlf_permissions.zip
131131

132132
pull-deployed-lambdas:
133-
name: Pull deployed lambdas from ${{ inputs.stack_name }}
133+
name: Pull deployed lambdas
134134
runs-on: [self-hosted, ci]
135135
environment: ${{ inputs.environment }}
136136

@@ -169,7 +169,7 @@ jobs:
169169
path: dist/*.zip
170170

171171
terraform-plan:
172-
name: Plan changes to ${{ inputs.stack_name }} for ${{ inputs.environment }}
172+
name: Plan changes
173173
runs-on: [self-hosted, ci]
174174
environment: ${{ inputs.environment }}
175175

@@ -242,7 +242,7 @@ jobs:
242242
aws s3 cp terraform/infrastructure/tfplan.txt s3://nhsd-nrlf--mgmt--github-ci-logging/${{ inputs.environment }}/${{ github.run_id }}/tfplan.txt
243243
244244
terraform-apply:
245-
name: Apply permissions to ${{ inputs.stack_name }} for ${{ inputs.environment }}
245+
name: Apply permissions
246246
runs-on: [self-hosted, ci]
247247
environment: ${{ inputs.environment }}
248248

@@ -258,7 +258,7 @@ jobs:
258258
uses: actions/cache/restore@v4
259259
with:
260260
key: ${{ github.run_id }}-pulled-lambda-artifacts
261-
path: ./dist
261+
path: dist/*.zip
262262
fail-on-cache-miss: true
263263

264264
- name: Restore NRLF permissions cache

0 commit comments

Comments
 (0)