Skip to content

Commit

Permalink
Include application name
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorKirk committed Sep 21, 2023
1 parent d861ec0 commit a77332e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/cloudfront-site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ Resources:
OriginAccessControlConfig:
# Get a unique ID for the OAC Config name.
# Name must be unique within account
Name: !Select [2, !Split ['/', !Ref 'AWS::StackId']]
Name: !Sub
- amzn-secure-static-site-${guid}
- guid: !Select [2, !Split ['/', !Ref 'AWS::StackId']]
OriginAccessControlOriginType: s3
SigningBehavior: always
SigningProtocol: sigv4
Expand Down

0 comments on commit a77332e

Please sign in to comment.