When updating a TaskDefinition in CloudFormation the docs say that a replacement action occurs - http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html
Is there a way to get that to be a new revision? Should I be using the family parameter? Is there a TaskDefinition limit? Otherwise I end up with a large number of inactive definitions.
ContainerDefinitions:
- Name: container
Essential: 'true'
Image: image:tag
PortMappings:
- ContainerPort: 80
HostPort: 80
Protocol: 'tcp'
TaskRoleArn: 'arn:aws:iam::role'