Skip to main content

Use a specific Terraform version on local files version with Docker

You may need to run a specific version of Terraform locally (without keeping all the binaries of the version). Docker allows to do it easily.

# Run a terraform plan with terraform 0.13.5
docker run -v <local_folder>:/data --workdir=/data hashicorp/terraform:0.13.5 plan

# Run the 0.13upgrade terrform command
docker run -v <local_folder>:/data --workdir=/data hashicorp/terraform:0.13.5 0.13upgrade
Close Menu

WHERE TO FIND US


PARIS

Bâtiment Crisco Duo
7 avenue de la Cristallerie
92310 Sèvres, France

NANTES

Centre d’affaires Euptouyou
4 rue Edith Piaf Immeuble Asturia C
44800 Saint-Herblain, France

PHONE

+33 1 46 48 26 00

EMAIL

[email protected]