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
When a CloudFormation parameter with an empty string value ("") is passed via the CreateStack API parameters list and that parameter is referenced in an Fn::Equals condition, the stack fails with:
Template error: every Fn::Equals object requires a list of 2 string parameters.
The same template succeeds when:
The parameter has a non-empty value
The empty string comes from the template's Default: field (parameter omitted from API call)
Both work correctly against real AWS CloudFormation.
Likely cause: Empty string parameter values are being coerced to None in Python during parameter resolution, which then fails the string type check in the Fn::Equals evaluator.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When a CloudFormation parameter with an empty string value ("") is passed via the CreateStack API parameters list and that parameter is referenced in an Fn::Equals condition, the stack fails with:
The same template succeeds when:
Reproduction:
Both work correctly against real AWS CloudFormation.
Likely cause: Empty string parameter values are being coerced to None in Python during parameter resolution, which then fails the string type check in the Fn::Equals evaluator.
LocalStack version: 4.14.1 (Pro)
Beta Was this translation helpful? Give feedback.
All reactions