Skip to content

Commit

Permalink
Allow cloudfront create invalidation
Browse files Browse the repository at this point in the history
  • Loading branch information
larisa17 authored Sep 30, 2024
1 parent 6d81e4f commit 279b895
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions infra/aws/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,14 @@ const serviceTaskRole = new aws.iam.Role("scorer-service-task-role", {
],
Resource: "*",
},
// CloudFront
{
Effect: "Allow",
Action: [
"cloudfront:CreateInvalidation",
],
Resource: "*",
},
],
})
),
Expand Down

0 comments on commit 279b895

Please sign in to comment.