Closed AaronFriel closed 1 year ago
@cnunciato It looks like the BucketPolicy got an AccessDenied, I saw that locally but on my second pulumi up
it succeeded. Do I need to add a DependsOn there, too?
Or do we need this policy ACL at all for the example?
bucketPolicy:
type: aws:s3:BucketPolicy
properties:
bucket: ${site-bucket}
policy: |
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": "*",
"Action": ["s3:GetObject"],
"Resource": ["${site-bucket.arn}/*"]
}
]
}
@AaronFriel I'm pretty sure you don't actually need that bucket policy, yeah. Does the example not work without it?
This unblocks these examples working as simple static sites. The changes in this commit echo those made in our AWS getting started guide here: