Skip to content

Commit

Permalink
fixes rendering with newer versions of cfndsl that validates referenc…
Browse files Browse the repository at this point in the history
…es which breaks when inlining
  • Loading branch information
aaronwalker committed Oct 22, 2020
1 parent 81c373c commit 1a10f41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s3-cloudfront.cfndsl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
Effect: 'Allow',
Action: 's3:GetObject',
Resource: FnJoin('', [ 'arn:aws:s3:::', Ref("Bucket"), '/*']),
Principal: { CanonicalUser: FnGetAtt('s3bucketOriginAccessIdentity', 'S3CanonicalUserId') }
Principal: { CanonicalUser: { "Fn::GetAtt" => ['s3bucketOriginAccessIdentity', 'S3CanonicalUserId'] }}
}
]
}
Expand Down

0 comments on commit 1a10f41

Please sign in to comment.