We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello :)
I have a question regarding aws-cloudfront-s3 construct. I've been experimenting with it, and I noticed some overlap in attached bucket policies here.
aws-cloudfront-s3
Action s3:GetObject has already been added through aws-cloudfront module, so I'm not sure why it was added again here. Thanks!
s3:GetObject
aws-cloudfront
Note: Current aws-cloudfront-s3 uses older L2 construct of aws-cloudfront module. See #39.
{ "Version": "2012-10-17", "Statement": [ { "Sid": "HttpsOnly", "Effect": "Deny", "Principal": "*", "Action": "*", "Resource": "arn:aws:s3:::static-content-1234567890/*", "Condition": { "Bool": { "aws:SecureTransport": "false" } } }, { "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E1VKUUXTUNNAAA" }, "Action": [ "s3:GetObject*", "s3:GetBucket*", "s3:List*" ], "Resource": [ "arn:aws:s3:::static-content-1234567890", "arn:aws:s3:::static-content-1234567890/*" ] }, { "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E1VKUUXTUNNAAA" }, "Action": "s3:GetObject", "Resource": "arn:aws:s3:::static-content-1234567890/*" } ] }
The text was updated successfully, but these errors were encountered:
robertd@, I noticed the same as well when migrating to the new cloudfront L2 construct. It will be fixed with the migration issue
Sorry, something went wrong.
@hnishar Thanks for confirming this.
The fix has been pushed out in the latest release v1.68.0
hnishar
No branches or pull requests
Hello :)
I have a question regarding
aws-cloudfront-s3
construct. I've been experimenting with it, and I noticed some overlap in attached bucket policies here.Action
s3:GetObject
has already been added throughaws-cloudfront
module, so I'm not sure why it was added again here. Thanks!Note: Current
aws-cloudfront-s3
uses older L2 construct ofaws-cloudfront
module. See #39.The text was updated successfully, but these errors were encountered: