Update service.html.markdown

support terraform 0.12
This commit is contained in:
Motti Dadison 2020-03-05 16:06:08 +02:00 committed by GitHub
parent 5d0f0fb806
commit 626a554d71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -108,8 +108,7 @@ resource "docker_service" "foo" {
read_only = true
mounts = [
{
mounts {
target = "/mount/test"
source = "${docker_volume.test_volume.name}"
type = "volume"
@ -118,8 +117,8 @@ resource "docker_service" "foo" {
bind_options {
propagation = "private"
}
},
]
}
stop_signal = "SIGTERM"
stop_grace_period = "10s"
@ -586,4 +585,4 @@ Docker service can be imported using the long id, e.g. for a service with the sh
```sh
$ terraform import docker_service.foo $(docker service inspect -f {{.ID}} 55b)
```
```