This message was deleted.
# help
b
This message was deleted.
c
Hi, can you share the hcl?
g
Sure.. any parts that are more useful than others? It's built as a dynamic resource so has all possible options on it. Might be easier to pull the state for the deployed resources so that only the applicable values are noted. Give me a few to do that.
c
yeah ideally some sanitized/minimal example that reproduces the problem
g
Do you know if the actual task definition needs to be in the same plan/state as the service? In our case that is in a different module so the aws_ecs_service resource in the plan/state just has an ARN reference to the task definition, but the definition itself would be separate.
c
yeah we need some way to read the task definition and we can only process the reference if the definition hcl is loaded also
g
Okay that would explain it then 🙂 Thank you for that!