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.
This commit is contained in:
Alex Brausewetter 2016-12-12 23:00:58 +01:00 committed by Paul Stack
parent 7a0949ee5a
commit c1637f25c4
1 changed files with 1 additions and 1 deletions

View File

@ -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