I am suspicious of letting [[Terraform]] manage everything. I suspect this is the [[Law of the instrument]]. For example, [cloudposse/terraform-aws-ecs-container-definition](https://github.com/cloudposse/terraform-aws-ecs-container-definition) lets you, in essence, generate JSON. > Terraform module to generate well-formed JSON documents (container definitions) that are passed to the aws_ecs_task_definition Terraform resource. The best tool for the job? [[CUE]] with a proper schema. At the very least, a CUE provider for Terraform. The rule: > If the only tool you have is a hammer, it is tempting to treat everything as if it were a nail