Cloudformation bootstrapping fails in a previously unbootstrapped account #21087
-
Following the instructions in the doco.. you can create a cfn document that is the cfn template.
If you then try to deploy that... An error occurred (ValidationError) when calling the CreateStack operation: Unable to fetch parameters [/cdk-bootstrap/hnb659fds/version] from parameter store for this account. Looking at the bootstrap template, it can't work, unless the account has that parameter already set. ( its got a assertion rule ).. is this the expected behaviour? If it is, how is cdk boostrap working? Is it first writing the ssm parameter? I'm automating deployment of cdk boostrapping, and because i want to tag all the resources, i'm creating my own version of the template.. ( https://github.com/raindancers/cdkbootstrapper ) to deploy.. ( the tags are so there is something to match a SCP on ) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I had snookered myself. and this turns out to be a user error on my behalf. |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
I had snookered myself. and this turns out to be a user error on my behalf.