/terraform-docker

Run terraform easily inside a contair

Primary LanguageShell

Run Terraform in a Container

Can be used to run terraform, both interactively and not interactively (say in a pipeline), also includes TFLint.

Features:

  • Download the latest version of terraform if binary is not found in the /terraform path
  • Built-in copy of TFLint (currently downloaded at container build time)

Examples

Basic

docker run -it --rm  ghcr.io/dellelce/terraform terraform version