stackup icon indicating copy to clipboard operation
stackup copied to clipboard

`!Condition` for nested conditions is not handled correctly

Open amcinnes opened this issue 2 years ago • 0 comments

I think Stackup transforms !Condition foo into {"Fn::Condition": "foo"} when it should just be {"Condition": "foo"}.

This breaks nested conditions such as the YAML example at the bottom of this AWS doc.

Maybe we need to handle Condition the same way we handle Ref here.

amcinnes avatar Feb 08 '23 05:02 amcinnes