data "aws_ecs_container_definition" "ecs-${name}" {
task_definition = "${aws_ecs_task_definition.${name}.id}"
container_name = "${name}"
}
aws_ecs_container_definition
The following code defines an ECS container named ecs-foobar. The task_definition and container_name are both set to the value foobar.
Shortcut: tf_aws_ecs_container_definition
0 Comments
Add Comment
Log in to add a comment