I have Cloudformation template with TaskDefinition section. After deploying the stack to AWS, a TaskDefinition with revision 1 is created.
I want update TaskDefinition in Cloudformation template (add or remove ContainerDefinition), but after updating the stack, a TaskDefinition is not updated (still revision 1).
I try to use "Family" element in TaskDefinition, but new revision is not created.
Please, can anybody help me? What i am doing wrong?