mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2025-12-28 18:49:49 -05:00
* fix: Prevent recreation of image name is intentionally set to a fixed value * chore: Fix linting and formatting
9 lines
198 B
HCL
9 lines
198 B
HCL
resource "docker_image" "this" {
|
|
name = "%s"
|
|
}
|
|
|
|
resource "docker_container" "foo" {
|
|
image = docker_image.this.name
|
|
name = "foobar"
|
|
command = ["sh", "-c", "while true ;do wait ;done"]
|
|
}
|