Categorygithub.com/stephenwolfe1/terraformer
repository
0.0.0-20240606200306-2d0395934d25
Repository: https://github.com/stephenwolfe1/terraformer.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

terraformer

This is a simple go app that wraps Terraform commands designed to be run in Docker

Build

[IMAGE_TAG=local] make build This command will build the docker container for local testing

Docker Testing

This command will run the specified command for the main service example by default.

COMMAND=[init/validate/plan/apply/destroy] make test
  • Optional env varialbes:
  IMAGE_TAG               Override the docker image tag
  TYPE                    Run terraform for modules or services
  NAME                    Name of the module or service to run

Examples:

COMMAND=init make test

IMAGE_TAG=test COMMAND=validate TYPE=modules NAME=random make test