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

(cdk-Bootstrap): bootstrap an account with a custom qualifier #26939

Closed
Lynda-ben-boudaoud opened this issue Aug 30, 2023 · 4 comments
Closed
Labels
bug This issue is a bug. closed-for-staleness This issue was automatically closed because it hadn't received any attention in a while. effort/medium Medium work item – several days of effort p2 package/tools Related to AWS CDK Tools or CLI response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.

Comments

@Lynda-ben-boudaoud
Copy link

Lynda-ben-boudaoud commented Aug 30, 2023

Describe the bug

We have bootstrapped our account with a custom qualifier, However, although setting the stack synthesizer to use the correct qualifier when deploying the stack, it is failing with the following error message:

"Error [ValidationError]: Unable to fetch parameters [/cdk-bootstrap/nnnnnnnnnn/version] from parameter store for this account."

We face this problem in eu-east-1 but it works fine in eu-west-1

here is the portion of the code in question:

unnamed

Expected Behavior

Have the same behaviour in us-east1 as in eu-west1

Current Behavior

We have bootstrapped our account with a custom qualifier, However, although setting the stack synthesizer to use the correct qualifier when deploying the stack, it is failing with the following error message:

"Error [ValidationError]: Unable to fetch parameters [/cdk-bootstrap/nnnnnnnnnn/version] from parameter store for this account."

error

Reproduction Steps

Deploying a CDK app and later changing the qualifier for the bootstrap

Possible Solution

No response

Additional Information/Context

We use this command to deploy:
npx [email protected] deploy '*' --toolkit-stack-name stack-xxxx-cdk-v2-bootstrap --require-approval never --debug

CDK CLI Version

2.67

Framework Version

No response

Node.js Version

14.19.3

OS

Linux

Language

Typescript

Language Version

No response

Other information

No response

@Lynda-ben-boudaoud Lynda-ben-boudaoud added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Aug 30, 2023
@github-actions github-actions bot added the package/tools Related to AWS CDK Tools or CLI label Aug 30, 2023
@peterwoodworth
Copy link
Contributor

peterwoodworth commented Aug 30, 2023

Try setting the qualifier prop? Also, make sure to check the console to ensure that it has actually been bootstrapped with the appropriate qualifier.

@peterwoodworth peterwoodworth added response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. and removed needs-triage This issue or PR still needs to be triaged. labels Aug 30, 2023
@saharzitoun56
Copy link

saharzitoun56 commented Aug 31, 2023

Try setting the qualifier prop? Also, make sure to check the console to ensure that it has actually been bootstrapped with the appropriate qualifier.

The environment has been bootstrapped with the correct qualifier (the "nnnnnnnnn"). But when it comes to the creation of the lambda edge stack , he is unable to see the personalized bucket and ssm parameter. He took into account that qualifier because it was added to cdk.json file but not the personalized template of bootstrap. However this personalized template works for the other stacks in eu-west ( it dosen't work only with the stack of lambda edge in us-east)

@github-actions github-actions bot removed the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Aug 31, 2023
@pahud
Copy link
Contributor

pahud commented Nov 30, 2023

Hi, I am looking into this issue. Is it still happening in CDK 2.111.0 or above? If yes, can you provide code snippet for me to reproduce this issue without using screenshot so I can easily copy/paste with minimal tweaks?

@pahud pahud added p2 effort/medium Medium work item – several days of effort response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. labels Nov 30, 2023
Copy link

github-actions bot commented Dec 2, 2023

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.

@github-actions github-actions bot added closing-soon This issue will automatically close in 4 days unless further comments are made. closed-for-staleness This issue was automatically closed because it hadn't received any attention in a while. and removed closing-soon This issue will automatically close in 4 days unless further comments are made. labels Dec 2, 2023
@github-actions github-actions bot closed this as completed Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. closed-for-staleness This issue was automatically closed because it hadn't received any attention in a while. effort/medium Medium work item – several days of effort p2 package/tools Related to AWS CDK Tools or CLI response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Projects
None yet
Development

No branches or pull requests

4 participants