mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2026-02-12 07:13:28 -05:00
6 lines
No EOL
203 B
Bash
6 lines
No EOL
203 B
Bash
#!/bin/bash
|
|
|
|
## A Docker service can be imported using the long id,
|
|
## e.g. for a service with the short id `55ba873dd`:
|
|
|
|
$ terraform import docker_service.foo "$(docker service inspect -f {{.ID}} 55b)" |