BucketAlreadyOwnedByYou
See original GitHub issueWhat happened?
When changing the code a bit, Pulumi ended up trying to create a bucket that already existed. Using the -r
(refresh) option didn’t solve it either.
Steps to reproduce
- Create a bucket with
new aws.s3.Bucket('old-name', { websiteDomain: 'example.com', … })
- Deploy
- Rename entity with
new aws.s3.Bucket('new-name', { websiteDomain: 'example.com', … })
- Try to deploy
Expected Behavior
Pulumi should understand that the bucket already exists and should probably delete-and-recreate.
Actual Behavior
AWS Error: BucketAlreadyOwnedByYou
Versions used
- @pulumi/aws: 4.0.0
- pulumi: 3.32.1
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you’ve opened one already).
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Boto s3 error. BucketAlreadyOwnedByYou - Stack Overflow
BucketAlreadyOwnedByYou errors will only be returned outside of the US Standard region. Inside the US Standard region (i.e. when you don't ...
Read more >BucketAlreadyOwnedByYou - AWS SDK for JavaScript v3
The bucket you tried to create already exists, and you own it. Amazon S3 returns this error in all Amazon Web Services Regions...
Read more >BucketAlreadyOwnedByYou Issue #6159 - GitHub
Hello All, When re-running terraform to create or change s3 buckets this happens: module.organisation-asset.aws_s3_bucket.bucket: 1 error(s) occurred: ...
Read more >AWS::S3::BucketAlreadyOwnedByYou error - Google Groups
but I keep on getting 'AWS::S3::BucketAlreadyOwnedByYou (Your previous request to create the named bucket succeeded and you already own
Read more >Bug #17398: S3 CreateBucket should issue ... - Ceph Tracker
S3 CreateBucket should issue 409 BucketAlreadyOwnedByYou or 400 IllegalLocationConstraintException for mismatched placement pool · Affected Versions: · ceph-qa- ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I am going to look at how we can recreate this
Thanks. Yeah that’s pretty much it I guess. The only thing is that in my “after” I was iterating over an array to generate the buckets dynamically, but I suppose that doesn’t change anything w.r.t. pulumi.
Thanks for now. I’ll come back to this thread if this show up again. Thanks.