https://pulumi.com logo
#getting-started
Title
# getting-started
a

ancient-thailand-47587

12/07/2023, 8:36 PM
Hi, I’m looking over the docs and I’m trying to figure out what the differences are between the AWS Bucket and AWS BucketV2 and the “native” buckets. Any descriptions will help. Thanks!
g

great-sunset-355

12/08/2023, 7:43 AM
Terraform made a breaking change to S3 bucket. Pulumi team tried to mitigate this by introducing "S3 bucket V2" The docs lack lacking explanation of why. Perhaps you can raise the docs issue to add some explanation about it. The main difference is that with
v2
is on par with https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket And you get more granular control over "sub resources", such as ACL, BucketPolicy etc. In
v1
all of these are under the
Bucket
which is inconvenient sometimes. In general, I'd suggest using
V2
. https://www.hashicorp.com/blog/terraform-aws-provider-4-0-refactors-s3-bucket-resource https://github.com/hashicorp/terraform-provider-aws/issues/23106