In the CloudFormation created when a product is installed the yaml contains the following parameter:
'BootstrapVersion': 'Default': '/cdk-bootstrap/hnb659fds/version' 'Description': 'Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]' 'Type': 'AWS::SSM::Parameter::Value<String>'
This automatically resolves the parameter store value of -/cdk-bootstrap/hnb659fds/version-
When the build tries to run with the cdk deploy command it passes the actual value in the variable CDK_DEPLOY_PARAMETER_ARGS rather than the parameter store name.
e.g.
Currently passes:
--parameters HelloCdkStack:BootstrapVersion=12
Should pass: -
-parameters HelloCdkStack:BootstrapVersion=/cdk-bootstrap/hnb659fds/version
This cause the install to fall over with a validation error:
Error [ValidationError]: Unable to fetch parameters [12] from parameter store for this account
Only workarounds identified are to hard code the parameter name into the lamdba servicecatalog-tools--StartCDKDeploy or to set up a parameter in system manager manually called 12 with a value of 12...