terraform-provider-docker/testdata/resources/provider/testAccDockerProviderMultipleRegistryAuth.tf
Martin df4b76aa04
fix: Enable authentication to multiple registries again. (#400)
* fix: Enable authentication to multiple registries again.

* fix: Tests run when conflictsWith is disabled.

* chore: Improve docs for multiple registry auth.

* tests: Add multiple registry auth test.

* fix: Correct index of auth structure.

* chore: Add newest docs [ci skip]
2022-07-15 13:05:26 +02:00

16 lines
No EOL
380 B
HCL

provider "docker" {
alias = "private"
registry_auth {
address = "%s"
}
registry_auth {
address = "public.ecr.aws"
username = "test"
password = "user"
}
}
data "docker_registry_image" "foobar" {
provider = "docker.private"
name = "127.0.0.1:15000/tftest-service:v1"
insecure_skip_verify = true
}