https://pulumi.com logo
Title
a

astonishing-quill-88807

10/20/2020, 8:32 PM
So, the issue was actually that the
requires_compatibilities
attribute is a string in my code and needs to be a list. 🤦‍♂️
w

white-balloon-205

10/21/2020, 6:22 PM
BTW - if you run
mypy
or use an IDE tool that does type checking in the background - that should catch issues like this for you automatically, as the Pulumi Python SDKs do have type annotations. https://www.pulumi.com/docs/reference/pkg/aws/ecs/taskdefinition/#requires_compatibilities_python
A few more details on this tooling support in a recent blog post at https://www.pulumi.com/blog/announcing-python-tooling-improvements/.