[cdk deploy] cdk deploy does not take into account the specific bootstrap qualifier
See original GitHub issueWhat is the problem?
I had bootstraped my account with the following qualifier : devops
The synth command synthesizes the stack with the correct values of bootstrap :
BootstrapVersion: Type: AWS::SSM::Parameter::Value<String> Default: /cdk-bootstrap/devops/version Description: Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]
Reproduction Steps
cdk bootstrap --qualifier devops aws://xxxx/eu-west-1
My stack is:
InfraBackbonePipelineStack(app, stackName, { synthesizer: new DefaultStackSynthesizer({ qualifier: "devops"})
Then I execute : cdk deploy
What did you expect to happen?
Deployment of the stack using the correct bootstrap qualifier ‘devops’
What actually happened?
But the cdk deploy commands is always in error:
Error [ValidationError]: Unable to fetch parameters [/cdk-bootstrap/hnb659fds/version] from parameter store for this account.
CDK CLI Version
2.8
Framework Version
No response
Node.js Version
14.17.3
OS
Ubuntu 20.04
Language
Typescript
Language Version
Typescript 4.5.4
Other information
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (2 by maintainers)
Top GitHub Comments
By default, the AWS CDK retains values of parameters from previous deployments and uses them in subsequent deployments if they are not specified explicitly.
To resolve the issue, I use the command listed below.
cdk deploy --no-previous-parameters
⚠️COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.