sparse-intern-71089
03/17/2023, 8:09 PMgreat-sunset-355
03/19/2023, 6:39 PMbucket
and bucketv2
and they can treat policy as a separate object however API can accept it as an input parameter https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html#API_CreateBucket_RequestParameters
but bucketV2
allows policy as a separate object https://www.pulumi.com/registry/packages/aws/api-docs/s3/bucketv2/
however, it can also allow the value directly.calm-cat-43230
03/19/2023, 7:47 PMcareful-family-14644
03/20/2023, 1:30 PMbucketv2
. I believe you can supply the ACL, but not the public access block settings. The ACL policy does not solve the problem though.great-sunset-355
03/20/2023, 2:58 PMPublicAccessPolicyBlock
is a separate object from the bucket https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutPublicAccessBlock.html and it always needs to wait for the creation of S3 bucket.
Btw. Finally, after years, S3 buckets are now private by default, not sure if it helps with though.careful-family-14644
03/20/2023, 3:42 PM