-
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
bootstrap:failing with IAM roles even when using a full administrator account #27067
Comments
From the error message it looks like you're not an admin, but rather |
Actually, are you a root user, or are you an IAM user with admin perms? |
The latter. I am AD SSO authenticated with full admin permissions. However, I found out that there is a role being used when I run What's still a mystery to me is that why and how is it using |
I've never seen this role before, and I can't find any references to it in our code or documentation. It's weird that it's throwing a |
@c0debreaker I have a few questions.
|
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
This is happening to me now, with the same role errors reported by the original reporter, but without the I'm using a user created with IAM Identity Center that has the standard To address @peterwoodworth's last set of questions:
The role reported by
I was. I have also tried running with the explicit Here's the output from This is with node 22.7.0 and aws-cdk 2.155.0
|
@peterwoodworth If I re-run the |
Describe the bug
Unable to cdk bootstrap. I am getting tons of errors relating to IAM issues. I've tried version 2.93.0 and 2.95.0 of aws-cdk with no luck. Here is the result of cdk bootstrap. I also tried it on 2 different AWS accounts
Expected Behavior
cdk bootstrap should have properly prepared the environment
Current Behavior
It's failing with iam permissions but I am an administrator
Reproduction Steps
Before running cdk bootstrap, I had to export 3 AWS env variables to make my credentials work. The account I used has admin rights.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.95.0
Framework Version
No response
Node.js Version
18.17.1
OS
macos
Language
Python
Language Version
Python 3.9.0
Other information
No response
The text was updated successfully, but these errors were encountered: