Skip to content

AdamJHall/platform-lab

Repository files navigation

platform-lab

A personal sandbox for learning Terraform and Kubernetes, using Terragrunt to manage multi-environment AWS infrastructure.

Structure

terraform/
├── catalog/
│   ├── modules/    # Raw Terraform modules
│   ├── units/      # Terragrunt wrappers around modules
│   └── stacks/     # Compositions of units
└── environments/
    └── dev/        # Environment-specific stack instantiations

Prerequisites

Install tools with mise:

mise install

Setup

Install tools and the pre-commit git hook:

task install

Commands

Infrastructure

task tf:plan:dev      # plan all units in dev
task tf:apply:dev     # apply all units in dev
task tf:destroy:dev   # destroy all units in dev

Terraform

task tf:fmt           # format all Terraform files
task tf:validate      # validate all catalog modules
task tf:clean         # remove local Terraform and Terragrunt caches

Linting

task lint          # run all workflow linting checks (yamllint, actionlint, zizmor)

About

Infrastructure repository used for learning EKS, Terraform and Terragrunt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages