Skip to content

Commit 2ec08c9

Browse files
committed
Add required permssions for terraform deployment workflow to trigger.
1 parent 6a61cc4 commit 2ec08c9

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
type: string
1111
description: Name of the file to be deployed to S3
1212

13+
# Redundant, however leaving here for good measure as this is required
1314
permissions:
1415
id-token: write
1516
contents: read

.github/workflows/download.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,8 @@ jobs:
7474
needs: download
7575
with:
7676
artifact-name: $ARTIFACT_NAME
77+
permissions:
78+
id-token: write
79+
contents: read
7780
if: ${{ needs.download.outputs.file-byte-count > 1 }}
7881

0 commit comments

Comments
 (0)