cn-terraform / terraform-aws-ecs-fargate-task-definition

AWS ECS Fargate Task Definition Terraform Module
https://registry.terraform.io/modules/cn-terraform/ecs-fargate-task-definition
Apache License 2.0
50 stars 32 forks source link

Conflicts with module "ecs-fargate" #32

Open lanc33llis opened 1 year ago

lanc33llis commented 1 year ago

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?

jnonino commented 1 year ago

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

lanc33llis commented 1 year ago

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!

jnonino commented 1 year ago

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