As part of our introduction to self-service publishing in the Terraform Registry, this copy of the provider has been archived, and ownership has been transferred to active maintainers in the community. Please see the new location on the Terraform Registry: https://registry.terraform.io/providers/kreuzwerker/docker/latest
The config_file must reference a file. It can't be a string. The config.json file contains credentials and therefore we could not check the file into git. We are using Terraform enterprise, and if the config_file could be a string, we could have simply populated value from a secret Terraform Enterprise workspace variable. We were forced to write a jenkins job instead of using Terraform Enterprise since there's no way to get the file into terraform without it being checked into the code.
Terraform Version
Terraform v0.12.12
Affected Resource(s)
provider "docker"
Terraform Configuration Files
Straight from the docs at https://www.terraform.io/docs/providers/docker/index.html
The
config_file
must reference a file. It can't be a string. The config.json file contains credentials and therefore we could not check the file into git. We are using Terraform enterprise, and if theconfig_file
could be a string, we could have simply populated value from a secret Terraform Enterprise workspace variable. We were forced to write a jenkins job instead of using Terraform Enterprise since there's no way to get the file into terraform without it being checked into the code.