mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-30 10:47:14 -06:00
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:
parent
7a0949ee5a
commit
c1637f25c4
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user