terraform-aws-ecs-fargate-task-definition icon indicating copy to clipboard operation
terraform-aws-ecs-fargate-task-definition copied to clipboard

Conflicts with module "ecs-fargate"

Open lanc33llis opened this issue 2 years ago • 3 comments

Not sure if I'm misunderstanding this module, but I'm trying to use this module with the ecs-fargate module. However, when planning, this module seems to conflict a lot with the previous infrastructure causing much of it to be needed to be destroyed on apply. Any way to resolve this?

lanc33llis avatar Feb 12 '23 03:02 lanc33llis

Hi, how are you? The ecs-fargate module already includes the task definition module. So just using that module will include everything.

jnonino avatar Feb 12 '23 13:02 jnonino

Sorry for lack of clarity! I'm using the ecs-fargate module (which works well), but would like to add another task definition. Is that something I can do with this module? Thanks!

lanc33llis avatar Feb 12 '23 18:02 lanc33llis

Maybe this other question can help you https://github.com/cn-terraform/terraform-aws-ecs-fargate/issues/85

jnonino avatar May 17 '23 12:05 jnonino