Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 1.21 KB

README.md

File metadata and controls

34 lines (19 loc) · 1.21 KB

dev-infras

A starting point for learning Terraform basics. This is a small ecosystem for quick, consistent per-environment creation.


FORK THIS REPO TO YOUR OWN PERSONAL GITHUB SPACE BEFORE EXPERIMENTING.


Getting Started

Check the docs for one-time setup steps.

You can follow along with the slides if you like.

You'll need to use your own SSH Key; here's how to generate and upload one. Change the value for instance.tf (file) > aws_instance (resource) > key_name.

Extra credit: HOW WOULD YOU VARIABLIZE THIS VALUE?

HINT: this works best if your local (workstation) user and remote (IAM/Federated) user both expand to the same value as $USER.


Source-in the project variables to your environment:

source build.env <stage|prod>

make tf-init, make plan and make apply.