Skip to content

Releases: hunt3ri/terragen

v0.4.0

14 Feb 21:36
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

Add support for heredoc config, to allow json documents to be passed for iam config, eg

  role_json: >
    <<EOT
    
    {
        "Version": "2012-10-17",
        "Statement": [
            {
                "Effect": "Allow",
                "Principal": {
                    "Service": "lambda.amazonaws.com"
                },
                "Action": "sts:AssumeRole"
            }
        ]
    }
    
    EOT

v0.3.1

30 Jan 13:10
Compare
Choose a tag to compare
v0.3.1 Pre-release
Pre-release

Bugfix release for missing dependency 😊

v0.3.0

30 Jan 12:38
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

Added support for creating HCL maps and reading secrets from environment variables. Taken from docs:

Environment Variables and Secrets

It is good security practice to not store secrets in your config. Terragen supports reading values from environment variables. You can set a secret as an environment variable using the env. notation, eg:

my_secret: "env.MY_SECRET"

HCL Maps

Terragen will translate sub-objects in the main config object into a HCL Map. For example:

config:
   tags: 
     name: "testMap"
     environment: "Test"

Will generate a map as follows:

tags = {
    name = "testMap"
    environment = "Test"
 }

v0.2.0

07 Jan 01:06
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release
  • Massively improve documentation at ReadTheDocs site
  • Simplify configuration of Terragen, hopefully making it more obvious how to get started

v0.1.0

25 Nov 17:53
bddc08a
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

Inital release:

  • Config pattern working nicely
  • Terraform module generation working and tested (on simple cases) but it should work
  • AWS Only provider