resource "aws_ecs_cluster" "my_cluster" { name = "my_cluster" } resource "aws_ecs_task_definition" "my_api" { family = "my-api" execution_role_arn = aws_iam_role.my_api_task_execution_role.arn container_definitions = <