From 358de70c4ecc4dad49bf389064de161f0fbadf42 Mon Sep 17 00:00:00 2001 From: pulumi-bot Date: Wed, 23 Aug 2023 21:28:07 +0000 Subject: [PATCH] (pulumi-bot) Synced local 'pkg/codegen/testing/test/testdata/transpiled_examples' with remote 'pkg/tests/transpiled_examples' --- .../aws-static-website-pp/aws-static-website.pp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkg/codegen/testing/test/testdata/transpiled_examples/aws-static-website-pp/aws-static-website.pp b/pkg/codegen/testing/test/testdata/transpiled_examples/aws-static-website-pp/aws-static-website.pp index 28da0e7b782..45a4e1c150f 100644 --- a/pkg/codegen/testing/test/testdata/transpiled_examples/aws-static-website-pp/aws-static-website.pp +++ b/pkg/codegen/testing/test/testdata/transpiled_examples/aws-static-website-pp/aws-static-website.pp @@ -3,6 +3,14 @@ websiteConfiguration = { indexDocument = "index.html" } + publicAccessBlockConfiguration = { + blockPublicAcls = false + } + ownershipControls = { + rules = [{ + objectOwnership = "ObjectWriter" + }] + } } resource indexHtml "aws:s3/bucketObject:BucketObject" { @@ -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