-
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: Error running cdk bootstrap with custom template #32330
Comments
@saiumesh-appfire Good morning. Somehow, I'm unable to reproduce the issue using CDK version
Kindly note have the default credentials configured on my system has Please share the following:
Thanks, |
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. |
Hi @ashishdhingra ,Thank you for your response! This issue seems to occur intermittently, not every time, which makes it a bit tricky to debug. Unfortunately, I’m unable to share the internal template we’re using. Given that the error message states, Thanks for your help! |
@saiumesh-appfire You may try using We would close this issue for now. Thanks, |
Thanks, @ashishdhingra I'll close the issue now and will open it with traces once we have this error. Thanks for your help!! |
Comments on closed issues and PRs are hard for our team to see. |
Describe the bug
We’re encountering an inconsistent issue with CDK bootstrap when using a custom template. Here’s the scenario:
This works as expected, and the resources are created successfully.
cdk bootstrap aws://<accountId>/us-east-1 --template bootstrap-template.yaml --force
orcdk bootstrap aws://<accountId>/us-east-1 --template bootstrap-template.yaml
(with or without the --force flag),the command fails intermittently with below error
Is there something we might be missing, or could this be a bug in the CDK bootstrap process? We’d appreciate your guidance on troubleshooting this.
Thank you!
Regression Issue
Last Known Working CDK Version
2.171.1 (build a95560c)
Expected Behavior
cdk bootstrap
command.--force
flag should reliably overwrite the existing resources with the updated template, without requiring manual intervention through the AWS console.cdk bootstrap
and updating the CloudFormation stack manually in the AWS console.Current Behavior
cdk bootstrap
command with the custom template works as expected, creating the necessary resources.cdk bootstrap
(with or without the--force
flag), the process fails intermittentlyReproduction Steps
bootstrap-template.yaml
) with specific permissions and resources for CDK bootstrap.cdk bootstrap aws://<accountId>/us-east-1 --template bootstrap-template.yaml
cdk bootstrap aws://<accountId>/us-east-1 --template bootstrap-template.yaml --force
orcdk bootstrap aws://<accountId>/us-east-1 --template bootstrap-template.yaml
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.171.1 (build a95560c)
Framework Version
No response
Node.js Version
18.16.0
OS
MacOS
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: