Closed TG9541 closed 5 years ago
Why is this not fixed yet? It seems like a very easy to solve problem?
We no longer build Terraform docker images from this repository (Packer images are built here still).
Issues and pull requests on the Terraform docker image should be opened on the main Terraform repository: https://github.com/hashicorp/terraform
@TG9541 that README.md
link is broken. Could you please provide the solution in this thread. I would like to use the docker image to run plans. 😄
@Curtis017 Solution: https://github.com/hashicorp/terraform#docker
From where can I pull the new light docker image?
Solution: mount the volume and overwrite the working directory. Example:
docker run -it -v $(pwd):/workpace -w /workpace hashicorp/terraform:0.12.2 apply
Problem:
The example usage at https://hub.docker.com/r/hashicorp/terraform/ is outdated, which is likely to frustrate beginners.
How to reproduce it: Using
docker run -i -t hashicorp/terraform:light plan main.tf
results in sessions like following:The solution is to follow the examples in the GitHub README.md.
Proposed solution: Please edit the docs at DockerHub, remove the broken example, and point to the up-to-date docs at GitHub instead.