-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cdk bootstrap fails with AccessDenied #17405
Comments
I ran aws-nuke and it found an S3 CF bucket left over from an ancient deep racer workshop I did at an AWS loft. After deleting that bucket it started working. I'm not sure if its possible to do a better check and at least tell folks to check S3 for other CF buckets. If it is possible to add a check that would be awesome. I spent I long time and got fairly desperate with aws-nuke. Otherwise, please feel free to close this. |
Hey @metcalfc 👋🏻 I'm glad you were able to get it working. I'm not sure why an existing S3 bucket (that's unrelated to CDK) would cause an |
It seems odd to me as well. I didn't clean up any policies. I restricted aws-nuke to resources in us-west-2. This is what it reported about the bucket in question:
That might have been an old CDK bootstrap? But I don't understand why it would care about an old bucket, when it was trying to go into a different bucket name. |
Thanks for the response. It looks like this may be related to: #15307 |
|
What is the problem?
A bootstrap fails. My IAM user has Cloud Formation Full access.
Reproduction Steps
It happens every bootstrap.
I've tried with the legacy and the modern strategy.
What did you expect to happen?
I expected a successful bootstrap.
What actually happened?
The bootstrap failed.
CDK CLI Version
1.131.0 (build 7560c79)
Framework Version
No response
Node.js Version
v14.18.1
OS
Ubuntu 20.04
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: