Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.05 KB

README.md

File metadata and controls

30 lines (21 loc) · 1.05 KB

terragen-example-configs

This repo contains example configuration files for the Terragen project and associated Terraform Modules

Terragen

Terragen is a framework for generating and automatically applying Terraform modules to simplify the management of sophisticated Cloud Architectures.

You can get full details and documentation from the project repo here

Running examples

Update your AWS information in ./config/sandbox before running commands below

Create Infra

EC2 Sandbox Example

terragen -cd ./config build.debug=False environment.dev.profile=hunter_ops_prod environment.dev.bucket=hunter-ops-tfstate -cn sandbox

Serverless Example

terragen -cd ./config build.debug=False build.infra_shared=pass -cn serverless

Destroy Infra

terragen -cd ./config build.debug=False build.infra_shared=destroy build.infra_app=destroy -cn sandbox
terragen -cd ./config build.debug=False build.infra_shared=pass build.infra_app=destroy -cn serverless