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
I was able to replicate this... looking into it. Makes me wonder if this is a language extension bug or not as my first review makes me think that this should be good.
CloudFormation Lint Version
1.28
What operating system are you using?
windows
Describe the bug
the code lints without error and validates via validate-template but fails to create the stack.
error is: Transform AWS::LanguageExtensions failed with: Fn::If layout is incorrect.
i have isolated the issue to conditional properties of resources created in the foreach.
in the code snippet, cloudformation doesn't like the conditions on the IOPS and Throughput properties.
this snippet does through an error for the availability zone. my actual template pulls that in as a parameter.
Expected behavior
Error thrown. really i'm hoping its user error. i've tried multiple variations but all fail or throw a lint error.
Reproduction template
The text was updated successfully, but these errors were encountered: