Skip to content

Commit

Permalink
allow creating invalidations fromm SiteBuilderLambda
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsim committed Jun 28, 2017
1 parent b3798ad commit 54fb28a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,12 @@ Resources:
- 'arn:aws:s3:::${websiteDomain}/*'
- websiteDomain: !Ref websiteDomain
Action: ['s3:PutObject']
- PolicyName: SiteBuilderLambdaInvalidateDistribution
PolicyDocument:
Statement:
- Effect: Allow
Resource: '*'
Action: ['cloudfront:CreateInvalidation']

#
# Original Bucket
Expand Down

0 comments on commit 54fb28a

Please sign in to comment.