Skip to content

terraform

Terraform files that recreate the collected infrastructure. Off by default.

Keys

Key Type Default Description
enabled bool false Write Terraform files.
output_dir str ./reports/terraform Where the Terraform files go. Unset, or left at ./reports/terraform, they go to terraform/ under the run's output directory (-o, or the output_dir given to CloudGEngine); any other value is used as given.

In config.yaml

config.yaml (terraform)
terraform:
  enabled: false
  # Unset or left at ./reports/terraform: the files go to terraform/ under the
  # run's output directory (-o, or CloudGEngine's output_dir). Any other value
  # is used as given.
  output_dir: ./reports/terraform

Read from the annotated example config.yaml and the CloudGConfig models in cloudg/config.py.