Hi guys, I'm using pulumi to set up CloudFront and...
# getting-started
f
Hi guys, I'm using pulumi to set up CloudFront and S3 for secure static website deployment. I encountered a problem with the
synced_folder.S3BucketFolder
module. This module requires I attach acl to the objects I'm uploading to S3. Though in the docs, it was mentioned that it's optional and I can pass the value
None
for it. I set
"object_ownership": "BucketOwnerEnforced"
which automatically disables ACL and would prevent any ACL config from being applied by
synced_folder.S3BucketFolder
module. So at runtime, the execution fails and it ask for property of acl as shown below.
Copy code
File "/home/web/StaticWebPulumi/website/venv/lib/python3.12/site-packages/pulumi_synced_folder/s3_bucket_folder.py", line 179, in _internal_init
        raise TypeError("Missing required property 'acl'")
    TypeError: Missing required property 'acl'