Skip to content

[codex] Scaffold modular Terraform infrastructure layer - #3

Merged
martinhohoff merged 4 commits into
mainfrom
infra-froundation
Apr 4, 2026
Merged

martinhohoff merged 4 commits into
mainfrom
infra-froundation

Conversation

@martinhohoff

Copy link
Copy Markdown
Owner

What changed

  • replaced the old one-off Terraform scaffold with a modular infra/terraform/modules/ plus infra/terraform/envs/dev and infra/terraform/envs/prod layout
  • added starter Terraform modules for AWS foundation, Snowflake foundation, and GitHub integration placeholders
  • added provider configuration, outputs, remote-state placeholders, variable files, example tfvars, and README guidance for both environment roots
  • added bootstrap-friendly terraform-fmt and terraform-validate targets in the root Makefile
  • committed Terraform lockfiles after successful initialization and validation of both environment roots
  • cleaned up the leftover legacy infra/terraform/environments/ path and normalized stale references

Why it changed

The repository needed a practical v1 infrastructure foundation that matches the selected stack decisions: AWS as the cloud foundation, Snowflake as the primary warehouse, Terraform as the IaC tool, and a single-repo layout that is environment-aware without being enterprise-bloated.

Impact

Contributors now have a clear Terraform entrypoint for dev and prod, reusable module boundaries, safe placeholders for real environment details, and bootstrap commands for format and validation.

Validation

  • python3 scripts/validate_repo.py
  • make terraform-fmt
  • make terraform-validate

@martinhohoff
martinhohoff marked this pull request as ready for review April 4, 2026 05:23
@martinhohoff
martinhohoff merged commit 0301e4d into main Apr 4, 2026
1 check passed
@martinhohoff
martinhohoff deleted the infra-froundation branch April 4, 2026 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant