Skip to content
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 Error Stack with id %s does not exist CDKToolkit #68

Closed
jts-mjanda opened this issue May 1, 2022 · 4 comments · Fixed by localstack/localstack#5978
Closed

Comments

@jts-mjanda
Copy link

Versions Used
"aws-cdk-lib": "2.22.0"
"aws-cdk-local": "^2.15.0"

Running On
Docker image localstack/localstack

Error Stack

⏳ Bootstrapping environment aws://000000000000/us-east-1...
❌ Environment aws://000000000000/us-east-1 failed bootstrapping: Error [ValidationError]: Stack with id %s does not exist CDKToolkit
at Request.extractError (/opt/code/localstack/dev/dtest/node_modules/aws-sdk/lib/protocol/query.js:50:29)
at Request.callListeners (/opt/code/localstack/dev/dtest/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
at Request.emit (/opt/code/localstack/dev/dtest/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
at Request.emit (/opt/code/localstack/dev/dtest/node_modules/aws-sdk/lib/request.js:686:14)
at Request.transition (/opt/code/localstack/dev/dtest/node_modules/aws-sdk/lib/request.js:22:10)
at AcceptorStateMachine.runTo (/opt/code/localstack/dev/dtest/node_modules/aws-sdk/lib/state_machine.js:14:12)
at /opt/code/localstack/dev/dtest/node_modules/aws-sdk/lib/state_machine.js:26:10
at Request. (/opt/code/localstack/dev/dtest/node_modules/aws-sdk/lib/request.js:38:9)
at Request. (/opt/code/localstack/dev/dtest/node_modules/aws-sdk/lib/request.js:688:12)
at Request.callListeners (/opt/code/localstack/dev/dtest/node_modules/aws-sdk/lib/sequential_executor.js:116:18) {
code: 'ValidationError',
time: 2022-05-01T20:33:08.561Z,
requestId: undefined,
statusCode: 400,
retryable: false,
retryDelay: 356.2141101632761
}

Stack with id %s does not exist CDKToolkit

@vertti
Copy link

vertti commented May 2, 2022

Same here, started appearing on several branches with no changes in dependencies. Seems the issue is the latest localstack container image. We were using latest tag. Reverting to image: localstack/localstack:0.14.2 fixed our build.

@thrau
Copy link
Member

thrau commented May 2, 2022

thanks for reporting @jts-mjanda! we recently did some restructuring around cloudformation which may be the cause of the issue. we're looking into it now!

@thrau
Copy link
Member

thrau commented May 3, 2022

hey everyone! the fix has been deployed and should be in the localstack docker image tag latest.

@zExcel
Copy link

zExcel commented May 4, 2022

@thrau Still seems to not be working for me.
aws-cdk-lib: 2.22.0 (build 1db4b16)
Was able to fix it by doing what @vertti above said and switched to using image: localstack/localstack:0.14.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants