terraform-provider-docker
terraform-provider-docker copied to clipboard
Feat: Support buildtime Secrets
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
Build Secrets are exceedingly important to fetch private resources and external dependencies.
Utilizing Build-Args or even Envs will lead to credentials leaked into the final docker image through it's layers and should be discouraged.
Docker provides https://docs.docker.com/build/building/secrets/ to provide secrets into build instructions
New or Affected Resource(s)
- docker_image
Potential Terraform Configuration
./.
References
- https://docs.docker.com/build/building/secrets/