terraform-provider-docker/testdata/resources/docker_image/testAccDockerImageFromDataConfig.tf
Martin dc8757e5f3
feat(src): Enable buildkit when client has support. (#387)
* feat(src): Enable buildkit when client has support.

* fix: Increase timeout of testsuite to 12min

* fix: docker_image datasource tests use smaller busybox image.

* fix: Use image version which are available on arm64.

* fix: Remove session dialer from buildkit implementation.

Did not do really anything

* feat: Buildkit is now working.

* fix: Disable linting for one specific line.

* fix: Fixes TestAccDockerImage_basic test.

The used image names in the two subtests must be different.
2022-06-23 10:32:31 +02:00

7 lines
241 B
HCL

data "docker_registry_image" "foobarbaz" {
name = "alpine:3.16.0"
}
resource "docker_image" "foobarbaz" {
name = data.docker_registry_image.foobarbaz.name
pull_triggers = [data.docker_registry_image.foobarbaz.sha256_digest]
}