Infrastructure Repository
The Panfactum stack expects your infrastructure repository to follow a standard directory layout. This structure is scaffolded automatically when you run pf-env-scaffold, but understanding it is essential for working effectively with the stack.
For a complete working example, see the reference infrastructure repository.
Layout
Click any file or directory to view its description.
environments?
global.yaml
panfactum.hcl
providers?
<environment>?
environment.yaml
environment.user.yaml
<region>?
region.yaml
region.user.yaml
<module>?
infrastructure?
.aws?
.kube?
.ssh?
.buildkit?
.nats?
flake.nix
flake.lock
panfactum.yaml
.envrc
.gitignore
Select a file or directory to view its description.
Related
- Terragrunt Variables — Configuration hierarchy details
- Repository Variables — Customizable directory paths
- Developing First-Party Modules — Writing modules in
infrastructure/ - Configuring IaC — Initial repo setup walkthrough