Terraform / OpenTofu¶
Snippets here work with both Terraform ≥ 1.3 and OpenTofu ≥ 1.6 unless noted otherwise.
Pages¶
-
Typed, validated
variableblocks: environment, region, tags, CIDRs, instance type, FQDN, optionals, objects, secrets. -
Opinionated layout for a reusable module.
-
Remote state backends with locking and encryption.
-
Sensible defaults for AWS, GCP, Azure providers.
-
Least-privilege snippets you copy more than you'd like to admit.