Skip to content

Commit 8e941fe

Browse files
committed
Added quotes to !Sub interpolated values
Added comments
1 parent aa9d5c5 commit 8e941fe

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

templates/template.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,13 @@ Resources:
1919
Metadata:
2020
BuildMethod: makefile
2121

22+
#
23+
# Lambda execution role
24+
#
2225
LambdaEdgeRole:
2326
Type: AWS::IAM::Role
2427
Properties:
25-
RoleName: !Sub ${AWS::StackName}-{{appName}}
28+
RoleName: !Sub '${AWS::StackName}-{{appName}}'
2629
AssumeRolePolicyDocument:
2730
Version: 2012-10-17
2831
Statement:
@@ -35,6 +38,9 @@ Resources:
3538
ManagedPolicyArns:
3639
- arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole
3740

41+
#
42+
# CloudFront configuration
43+
#
3844
CloudFrontConfig:
3945
Type: AWS::CloudFront::Distribution
4046
Properties:

0 commit comments

Comments
 (0)