Skip to main content

IaC

Infrastructure as Code (IaC) lets you manage Files.com configuration through code and version control, which makes changes repeatable, reviewable, and automatable. Reach for IaC when you need consistent configuration across dev, test, and production environments, when several people manage configuration and code review reduces the risk of misconfiguration, or when you run many sites and want to cut manual setup time.

IaC manages Files.com configuration as declared resources, so your code becomes the source of truth. Coverage usually includes users, groups, permissions, and integrations, and can extend to folder structure. The exact set of resources depends on the tool and provider version.

Supported Tools

Files.com supports IaC with Terraform and OpenTofu. Both use similar workflows. Start with Terraform if your organization standardizes on it, or use OpenTofu if you standardize on OpenTofu.

Typical Workflow

Define desired state in code and store that code in version control. Plan changes before applying them, and review the plan output with stakeholders. Apply changes from an automated pipeline or a controlled workstation. Patterns like variables and iteration keep larger configurations maintainable.

How IaC Fits With Other Automation

IaC handles the configuration lifecycle, not file movement workflows. For reactions to file events, use Automations. For custom runtime behavior, use the SDK & APIs.