blairy/terraformer

By blairy

Updated over 1 year ago

Lean single-responsibility docker image to deploy Terraform IaC configurations

Image

25

Terraformer

Lean single-responsibility docker image to deploy Terraform IaC configurations

image

How to use

  • Clone the repository: github.com/blairjames/terraformer.git
  • Add your Terraform configuration files to the "terraform_configs" directory.
  • Execute the "./build.sh" script to create the image locally.
  • Execute the "./run.sh" script to start the container.
  • Inside the image, your Terraform configuration files are located in the "/terraform" directory.
  • The container executes commands as the "terra" user who is permitted to run Terraform commands requiring elevated privileges via sudo.
  • The "terraform" and "tf" commands have been aliased so they are invoked seamlessly via sudo (it is not necessary to prefix Terraform commands with sudo)
  • The "terra" user has explicit permissions to execute Terraform commands only. Other actions requiring escalated privileges are outside the user's scope of operation and are, therefore, not permitted.

If you experience any issues please email me at: docker@blairjames.com

Terraformer How-to Demonstration Video

Docker Pull Command

docker pull blairy/terraformer