Skip to content

Commit 66f055e

Browse files
author
pulumi-bot
committed
(pulumi-bot) Synced local 'pkg/codegen/testing/test/testdata/transpiled_examples' with remote 'pkg/tests/transpiled_examples'
1 parent cdb7c45 commit 66f055e

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

pkg/codegen/testing/test/testdata/transpiled_examples/aws-static-website-pp/aws-static-website.pp

+8-6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
websiteConfiguration = {
44
indexDocument = "index.html"
55
}
6+
publicAccessBlockConfiguration = {
7+
blockPublicAcls = false
8+
}
9+
ownershipControls = {
10+
rules = [{
11+
objectOwnership = "ObjectWriter"
12+
}]
13+
}
614
}
715

816
resource indexHtml "aws:s3/bucketObject:BucketObject" {
@@ -21,12 +29,6 @@
2129
contentType = "image/png"
2230
}
2331

24-
resource bucketPolicy "aws:s3/bucketPolicy:BucketPolicy" {
25-
__logicalName = "bucketPolicy"
26-
bucket = siteBucket.id
27-
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"
28-
}
29-
3032
output bucketName {
3133
__logicalName = "bucketName"
3234
value = siteBucket.bucketName

0 commit comments

Comments
 (0)