Infrastructures
An infrastructure groups provider types, configured providers, block templates, and scopes under one owning team. Each scope has its own Terraform state; the infrastructure supplies the shared configuration.
Create an infrastructure
Open Provide, create an infrastructure, and choose its owning team. Your team must have permission to create infrastructures; a superuser can manage this setting. Membership in the owning team grants owner access.
| Setting | Meaning |
|---|---|
| Name | Display name, 1–255 characters. |
| Description | Optional explanation of the infrastructure’s purpose. |
| Type | terraform for Terraform or opentofu for OpenTofu. |
| Executable | Normalized absolute POSIX path, such as /usr/bin/terraform or /usr/bin/tofu. |
| Deduplicator length | Scope deduplicators must have exactly this many characters; allowed length is 1–5. |
See deduplicators for how modules avoid resource-name collisions.
The executable must exist and be executable on every worker that handles this infrastructure. A relative name such as
terraform, a path containing backslashes, or an unnormalized path such as /usr/bin/../bin/terraform is rejected.
The CLI must support JSON version output through version -json; all OpenTofu releases support it. Saving the
infrastructure does not install or run the executable; a later job can still fail if it is unavailable.
The type cannot be changed after creation because existing scope state belongs to that execution type. Create a separate infrastructure to use the other CLI. The executable path and other non-type settings remain editable.
Prepare it for use
Create the data sources, providers, templates, and scopes that consumers need. Data sources belong to teams and may be shared between infrastructures owned by the same team; they are not children of an individual infrastructure.
Use separate infrastructures when teams need independent ownership or different shared tooling. Use separate scopes when the same owner configuration should serve independent Terraform states or consumer teams.
Change or remove it
Jobs use the infrastructure’s executable and shared configuration, so changes to these settings apply to future jobs.
Before deletion, InfraBuffet shows related records and explains anything that prevents deletion.
Deleting an infrastructure or scope from InfraBuffet leaves its real resources running. To remove those resources, use diff and apply first and verify that they are gone. Keep the scopes and their Terraform state until that work is complete, then delete the infrastructure.