-
Notifications
You must be signed in to change notification settings - Fork 4k
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
aws-cdk-lib/aws-ssm: StringListParameter (Error in FnJoin) #27810
Comments
I think #21682 may be related |
I can't reproduce this. Are you able to print it in the CfnOutput like this? new CfnOutput(this, 'SelectedSubnetIds', { value: appSubnetGroupSelections.subnetIds.join(',') }) And see the result like this?
|
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. |
Hi @pahud , yes, if I remove the StringListParameter and instead add the CfnOutput I can successfully run
From the synth I see:
|
Now this is really strange: If I add both the CfnOutput and StringListParameter then I can also synth the stack successfully. I have no idea why? |
But in another project I get the same error message in a completely different setup: |
I found this comment https://stackoverflow.com/a/73249828/10829644 indicating that sometime the |
Hi @pahud , any ideas for what else I can test? |
Describe the bug
I added a StringListParameter to my existing Stack and suddenly get the following error:
Here is the code I added:
Expected Behavior
Successfully synth and deploy stack.
Current Behavior
Cannot synth or deploy stack.
Reproduction Steps
For some reason this error only occurs in some AWS accounts but not in others so it may be hard to reproduce. We roll out this stack in 8 different accounts and I currently cannot tell why it fails in one account but not the others.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.103.1
Framework Version
No response
Node.js Version
v18.17.0
OS
MacOS Sonoma 14.1
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: