-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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 required' error message has wrong sample command #3091
Comments
Thanks, @clareliguori I got similar error when run
After read your notes, I now know how to run
The After that, I can run |
I encountered the same issue. I think the error message is fine but it makes it seem like the AWS account and region are not configured even when they are. I would just update the error message, if anything. It informs the user how to fix, namely (using named profiles if that is why it appears as unknown in the msg) |
@vegetabill what would a more helpful message look like. Fix the command to just @jerry-aws - This is probably also an opportunity for us to improve the documentation around bootstrap, what it does, why it's necessary and how the CDK uses it. The documentation likely hasn't been touched in a long time. |
@shivlaks I have a bit on bootstrap in the new troubleshooting topic I'm working on, but I should add it to the Getting Started topic as well. (Even though the example used in Getting Started doesn't need the bootstrap.) |
realized this was already addressed through #3599 |
You can also do |
For the benefit of whoever else finds this, I came across this issue from the "imageScanOnPush" parameter of ecr.Repository |
Running |
Note: for support questions, please first reference our documentation, then use Stackoverflow. This repository's issues are intended for feature requests and bug reports.
I'm submitting a ...
What is the current behavior?
If the current behavior is a 🪲bug🪲: Please provide the steps to reproduce
Running cdk deploy against a stack with a custom resource:
Following the instructions and running
cdk bootstrap aws://123456789012/us-east-1
results in:Error gives sample cdk bootstrap command in expected format.
Useful error message
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. associated pull-request, stackoverflow, gitter, etc)
The text was updated successfully, but these errors were encountered: