From bba53d46a659839779b476ee401c0e8c9a9bc9bb Mon Sep 17 00:00:00 2001 From: Nathan Sullivan Date: Sat, 4 Jul 2015 03:41:44 +1000 Subject: [PATCH] oops :) --- .../aws/r/ecs_task_definition.html.markdown | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/website/source/docs/providers/aws/r/ecs_task_definition.html.markdown b/website/source/docs/providers/aws/r/ecs_task_definition.html.markdown index ac47f847e..3c761aa62 100644 --- a/website/source/docs/providers/aws/r/ecs_task_definition.html.markdown +++ b/website/source/docs/providers/aws/r/ecs_task_definition.html.markdown @@ -12,6 +12,18 @@ Provides an ECS task definition to be used in `aws_ecs_service`. ## Example Usage +``` +resource "aws_ecs_task_definition" "jenkins" { + family = "jenkins" + container_definitions = "${file("task-definitions/jenkins.json")}" + + volume { + name = "jenkins-home" + host_path = "/ecs/jenkins-home" + } +} +``` + ### task-definitions/jenkins.json The below would be passed into the `container_definitions` attribute. This is a small subset of the available parameters, see the [AWS docs](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html) for a full list.