You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm trying to deploy a CF template using the customizations-config. My template expects a list as parameter, but the stack synthesis fails:
2024-03-12 13:07:28.249 | error | accelerator | Resolution error: Supplied properties not correct for "CfnStackSetProps"
stackInstancesGroup: element 0: supplied properties not correct for "StackInstancesProperty"
deploymentTargets: supplied properties not correct for "DeploymentTargetsProperty"
organizationalUnitIds: "r-gqx8," should be a list.
/codebuild/output/src564/src/s3/00/source/packages/@aws-accelerator/accelerator/lib/accelerator.ts:58
throw new Error('Synthesis failed');
^
To Reproduce
Add a CloudFormation template to customizations-config.yaml as below:
I seem to be having this exact issue - I pass a value of "1111111111" to a TrustedAccounts CommaDelimitedList in a cdk bootstrap in the customizations config of lza and it fails validation with (CDKToolkit) failed: Error [ValidationError]: Template error: every Fn::Join object requires two parameters, (1) a string delimiter and (2) a list of strings to be joined or a function that returns a list of strings (such as Fn::GetAZs) to be joined.
Seems like it's not injecting the value correctly - have also many variations on the value but have yet to find a way to get it to work
Describe the bug
I'm trying to deploy a CF template using the customizations-config. My template expects a list as parameter, but the stack synthesis fails:
To Reproduce
customizations-config.yaml
as below:Note: for value i tried:
All give either the same error, or error at build validation.
Parameter in CFN template:
Expected behavior
Stack is deployed without errors
Please complete the following information about the solution:
Screenshots
If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).
Additional context
The text was updated successfully, but these errors were encountered: