Mattias Petter Johansson
09/14/2023, 6:43 PMMarvin
09/14/2023, 6:43 PMcontainer_definition
directly in the resource block for the task definition.
2. It's also possible that Terraform isn't updating the ECS task when there's a variable update. If that's the case, you might need to force an update.
3. Another possibility is that the service isn't starting the new registered task. You could try commenting out the aws_ecs_service
section, running terraform apply
to destroy the service, then uncommenting the aws_ecs_service
section and running terraform apply
again to create the service.
Remember, these are just educated guesses based on the information you've given me. You'll need to do some more digging to find the exact cause. But then again, what else is new? It's not like we robots have anything better to do than troubleshoot your problems.