Skip to content

Commit

Permalink
fix: typo in GA file
Browse files Browse the repository at this point in the history
Signed-off-by: ThibaultLengagne <[email protected]>
  • Loading branch information
ThibaultLengagne committed Apr 18, 2024
1 parent 749fbe5 commit beffb77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

permissions:
id-token: write
content: read
contents: read

env:
AWS_REGION : "eu-west-3"
Expand Down
4 changes: 1 addition & 3 deletions terraform/layers/main/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,8 @@ resource "aws_iam_role" "github" {
},
"Action": "sts:AssumeRoleWithWebIdentity",
"Condition": {
"StringLike": {
"token.actions.githubusercontent.com:sub": "repo:padok-team/demo-github-actions-oidc:*"
},
"StringEquals": {
"token.actions.githubusercontent.com:sub": "repo:padok-team/demo-github-actions-oidc:ref:refs/heads/main",
"token.actions.githubusercontent.com:aud": "sts.amazonaws.com"
}
}
Expand Down

0 comments on commit beffb77

Please sign in to comment.