Skip to content

Code Companion to medium article on how to abstract terraform for developer use

Notifications You must be signed in to change notification settings

DanielWsk/terraform-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-config

Code Companion to medium article on how to abstract terraform for developer use: https://medium.com/@danielaaronw/how-to-abstract-away-terraform-fe85b694ea4d

The purpose of this repo is to demonstate how to use a config file written in YAML to provide variables for terraform modules. The intended purpose is to create an easy to read and maintain configuration file for terraform that developers who are not familiar with terraform can use to build and maintain their own cloud resources.

For more information, please reference the medium article. I explain how the config file works using terraform workspaces and give some examples how we can access the yaml values inside the terraform main.tf code.

Note

In order to use this terraform template, you need to input an IAM role with access to cloudwatch logs. This is configured inside the config.yaml file at .environments/${terraform.workspace}/config.yaml

About

Code Companion to medium article on how to abstract terraform for developer use

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages