Skip to content

AltoStack/moby-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moby Terraform

Terraform CLI in a Docker image.

Usage

Docker Command

docker run --rm -v ~/.aws:/home/terraform/.aws -v $(pwd):/opt/app altostack/terraform --version

Docker Compose

terraform:
  image: altostack/terraform
  env_file: .env
  volumes:
    - ~/.aws:/home/terraform/.aws
    - .:/opt/app:rw

Build

Update the TERRAFORM_VERSION in both Makefile and DockerFile. Then run:

make build

Releases

No releases published

Packages

No packages published