> ## Documentation Index
> Fetch the complete documentation index at: https://docs.suga.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Infrastructure Discipline

> How Suga maintains Infrastructure as Code benefits

Infrastructure as Code emerged to solve problems with manual infrastructure: no change history, inconsistent environments, no rollback capability, and no audit trails. Suga provides these same guarantees through deployment history and environment cloning, without configuration files.

## IaC Benefits Suga Provides

| Benefit | Traditional IaC | Suga |
| - | - | - |
| **Version Control** | Git commits | Deployment snapshots |
| **Reproducibility** | Copy config files | Clone environments |
| **Rollback** | Git revert + apply | Activate previous deployment |
| **Review Before Deploy** | `terraform plan` | Diff shown in the Apply dialog |
| **Audit Trail** | Git history | Deployment history |

The discipline is identical: versioned, reviewable, auditable changes. The interface differs.

## Key Differences

### No Configuration Files

Traditional IaC defines infrastructure in YAML/HCL/JSON files committed to Git. Suga defines infrastructure visually on the canvas, with every change captured in deployment snapshots.

You get the same version control benefits without maintaining configuration syntax.

### Faster Deployments

| Tool | Typical Deploy Time |
| - | - |
| Terraform/Pulumi | 2-5 minutes |
| CloudFormation | 5-15 minutes |
| Suga | Seconds |

Speed doesn't compromise discipline. Deployments are still versioned, auditable, and reversible.

### Visual Architecture

Traditional IaC requires separate architecture diagrams that drift from reality. In Suga, the canvas *is* the architecture diagram, always accurate and always current.

## Compliance

Suga's deployment history satisfies standard compliance requirements:

* **Change Management** - Every deployment records author, timestamp, and description
* **Audit Trails** - Immutable history showing what changed between deployments
* **Rollback Capability** - One-click restore to any previous deployment
* **Reproducibility** - Cloning an environment creates an exact infrastructure copy

## FAQ

> [accordion] How do teams review infrastructure changes?
>
> View pending changes in the Apply dialog before you apply them. For team workflows, deploy to staging first, verify, then deploy to production.

> [accordion] Can I automate deployments from CI/CD?
>
> A public API for triggering deployments is planned for a future release.

> [accordion] How do I meet compliance requirements without config files?
>
> The compliance requirement is change tracking, not configuration files. Suga's immutable deployment history provides the required audit trails: who, when, what, why.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.