mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2025-12-29 02:59:59 -05:00
* 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]
16 lines
No EOL
380 B
HCL
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
|
|
} |