complyform init
Interactive setup wizard for scaffolding compliant Terraform projects.
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
Section titled “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
Section titled “Examples”Interactive wizard:
complyform initNon-interactive setup:
complyform init --cloud=gcp --frameworks=soc2,hipaa --services=cloudsql,gcs --project=my-projectRelated Commands
Section titled “Related Commands”- CLI Reference —
generate— Generate.tffiles from init config validate— Validate generated infrastructure