Skip to content

Commit

Permalink
(pulumi-bot) Synced local 'pkg/codegen/testing/test/testdata/transpil…
Browse files Browse the repository at this point in the history
…ed_examples' with remote 'pkg/tests/transpiled_examples'
  • Loading branch information
pulumi-bot committed Aug 23, 2023
1 parent c89a07f commit 358de70
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
websiteConfiguration = {
indexDocument = "index.html"
}
publicAccessBlockConfiguration = {
blockPublicAcls = false
}
ownershipControls = {
rules = [{
objectOwnership = "ObjectWriter"
}]
}
}

resource indexHtml "aws:s3/bucketObject:BucketObject" {
Expand All @@ -21,12 +29,6 @@
contentType = "image/png"
}

resource bucketPolicy "aws:s3/bucketPolicy:BucketPolicy" {
__logicalName = "bucketPolicy"
bucket = siteBucket.id
policy = "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Effect\": \"Allow\",\n \"Principal\": \"*\",\n \"Action\": [\"s3:GetObject\"],\n \"Resource\": [\"${siteBucket.arn}/*\"]\n }\n ]\n}\n"
}

output bucketName {
__logicalName = "bucketName"
value = siteBucket.bucketName
Expand Down

0 comments on commit 358de70

Please sign in to comment.