Hi guys, when creating a CloudFront distribution w...
# general
f
Hi guys, when creating a CloudFront distribution with an S3 bucket, is there anyway to automatically update the bucket's policy like selecting this option from the UI?
b
there's no automagic way to do it, you need to define your bucket policy in code: https://aws.amazon.com/premiumsupport/knowledge-center/cloudfront-access-to-amazon-s3/
❤️ 1
f
Alright, thank you 😄