Using bucketV2 throws a deprecating error, but don...
# aws
h
Using bucketV2 throws a deprecating error, but don't see bucketV2 supporting
aws_s3_bucket_acl
in latest pulumi_aws
Copy code
aws:s3:BucketV2 (creating managed workspace root bucket):    warning: urn:pulumi:dev::dbricks_pulumi::aws:s3/bucketV2:BucketV2::creating managed workspace root bucket verification warning: Use the aws_s3_bucket_acl resource instead
a
Hi Venkat, I think the error message is slightly misleading. It probably means this resource https://www.pulumi.com/registry/packages/aws/api-docs/s3/bucketaclv2/ LMK if that works for your use case.
I also raised an issue about the deprecation message: https://github.com/pulumi/pulumi-aws/issues/3028
h
@adorable-house-61348 thanks for reply, to be clear i should be using BucketAclV2 to set the acl not through the BucketV2
a
Yeah, I believe so. The deprecation message really should point to that resource.
h
Thank you.