Open x6j8x opened 3 years ago
@x6j8x Were you able to fix this issue?
@SuperMohit Kind of… We pinned 2.0.3 and as this repo is more dead than alive, that’s not the worst solution. ymmv 🤷♂️
@SuperMohit Thanks for the reply.
@x6j8x You mean 1.0.3 right?
I can’t remember the exact circumstances (it’s been a long time), but we actually pin 2.0.3.
pip3 install -q --upgrade cloudformation-cli-go-plugin==2.0.3
@x6j8x Thanks it works with 2.0.3.
Just tried out 2.0.4 with the latest cloudformation-cli version (0.2.28 I believe), and this error seems to magically have disappeared. (I just checked that out to get rid of the invalid_create contract test from https://github.com/aws-cloudformation/cloudformation-cli/pull/734).
actually for my case, even with 2.0.3, although contract test passed but on deploying template it would throw extraneous key
all over. So had to remove polymorphic props.
Hi,
we have a "oneOf" entry in our model and I suspect this to be culprit (but I don't know for sure).
With older versions of
cfn-cli
and the go-plugin this is generated just fine. But it breaks for2.0.4
with the error above.Complete stacktrace: