Skip to content

lmunro/docker-terraform-utils

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-terraform-utils

Docker image with terraform and other useful utilities

Why?

This image is used when following the 3 Musketeers pattern. By running terraform inside Docker, we ensure consistency, control and confidence.

  • Consistency: when developing automated processes that use terraform, you can be sure that they will function the same whether you run it on your Windows workstation or on a Jenkins build agent.
  • Control: by specifying the version of the image in [docker-compose.yml][], we can deploy to two incompatible versions of Terraform simultaneously.
  • Confidence: reliable deployments build confidence in the use of CI/CD pipelines, creating a positive feedback loop that encourages developers to use CI/CD

How To Use

Makefile:

deploy:
	docker-compose run --rm terraform apply

docker-compose.yml:

services:
  terraform:
    image: cmdlabs/terraform-utils:5.2.0
    volumes:
      - .:/work:Z

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 63.5%
  • Makefile 30.7%
  • Shell 5.8%