kreuzwerker / terraform-provider-docker

Terraform Docker provider
Mozilla Public License 2.0
570 stars 187 forks source link

Feat: Support buildtime Secrets #602

Open f0o opened 5 months ago

f0o commented 5 months ago

Community Note

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)

Potential Terraform Configuration

./.

References