rhythmic-branch-1284504/14/2022, 4:53 AM
1. the object deploys fine.. but why the warning, and can we fix this? (should we be using
Previewing update (dev): Type Name Plan Info pulumi:pulumi:Stack pulumi-t-dev 1 warning + └─ aws:s3:BucketObject index.html create 2 warnings Diagnostics: pulumi:pulumi:Stack (pulumi-t-dev): warning: bucket is deprecated: Use the aws_s3_object resource instead aws:s3:BucketObject (index.html): warning: urn:pulumi:dev::pulumi-t::aws:s3/bucketObject:BucketObject::index.html verification warning: Argument is deprecated warning: urn:pulumi:dev::pulumi-t::aws:s3/bucketObject:BucketObject::index.html verification warning: Argument is deprecated Do you want to perform this update? [Use arrows to move, enter to select, type to filter]
?) 2. I dug a bit into the docs and found https://www.pulumi.com/registry/packages/aws/api-docs/s3/bucketobject/ (which I assume is the right doc for aws_pulumi.s3.BucketObject?). There are deprecation warnings, sure (specifically:
), but how about giving an actual link to this “aws_s3_object resource” so we actually have more info, and hopefully know what to do?
Deprecated: Use the aws_s3_object resource instead
rhythmic-branch-1284504/18/2022, 3:39 AM
rhythmic-branch-1284504/18/2022, 3:45 AM