From c1637f25c4adf61066fe9809e52a949dacfd52ef Mon Sep 17 00:00:00 2001 From: Alex Brausewetter Date: Mon, 12 Dec 2016 23:00:58 +0100 Subject: [PATCH] Document ECS scratch volumes (#10683) Update docs to say that volumes can be created without host_path, which will create an nonpersistent volume, as per http://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html. This feature was implemented in #3810 but did not appear in the docs. --- .../docs/providers/aws/r/ecs_task_definition.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 2edc5924b4..6cf15f2411 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 @@ -79,7 +79,7 @@ Volume block supports the following arguments: * `name` - (Required) The name of the volume. This name is referenced in the `sourceVolume` parameter of container definition in the `mountPoints` section. -* `host_path` - (Required) The path on the host container instance that is presented to the container. +* `host_path` - (Optional) The path on the host container instance that is presented to the container. If not set, ECS will create a nonpersistent data volume that starts empty and is deleted after the task has finished. ## Attributes Reference