---
title: "complyform init"
description: "Interactive setup wizard for new Terraform projects."
---

Interactive setup wizard for scaffolding compliant Terraform projects.

## Usage

```bash
complyform init [options]
```

Without flags, runs an interactive wizard with Rich prompts. With flags, runs non-interactively (CI/CD friendly).

Generates `complyform.init.yaml` in the output directory. Run `complyform generate` next.

## Options

| Flag | Type | Default | Description |
|---|---|---|---|
| `--frameworks` | string | — | Comma-separated framework IDs |
| `--services` | string | — | Cloud services to scaffold (e.g., `cloudsql,cloudrun,gcs`) |
| `--project` | string | — | Cloud project ID |
| `--org` | string | — | GCP org ID for org policies |
| `--cloud` | `gcp\|aws\|azure` | `gcp` | Target cloud provider |
| `--region` | string | — | Default region for resources |
| `--output` | path | `./infra` | Output directory |

## Examples

Interactive wizard:

```bash
complyform init
```

Non-interactive setup:

```bash
complyform init --cloud=gcp --frameworks=soc2,hipaa --services=cloudsql,gcs --project=my-project
```

## Related Commands

- [CLI Reference — `generate`](/cli-reference/#generate) — Generate `.tf` files from init config
- [`validate`](/cli-reference/validate/) — Validate generated infrastructure
