Terrateam behavior can be configured via a
config.yml. This file is located in
a directory named
.terrateam at the root of your Terraform repository:
See Configuration documentation for details.
When a Plan operation runs, the exit status of
the generated Terraform plan file can be used to determine the
success or failure of the entire operation. This grants users the
ability to detect common misconfigurations before they are applied.
In the screenshots below, the
terraform plan step succeeds but
checkov step fails causing the entire Terrateam Plan operation
Terrateam Plan failing
workflows: - tag_query: "" plan: - type: init - type: plan - type: run cmd: ['checkov-wrapper'] capture_output: true
Example with custom options
checkov configuration options can be passed using
For example, to skip a specific check, the
variable can be set using a custom Terrateam workflow.
workflows: - tag_query: '' plan: - type: init - type: plan - type: env name: CKV_SKIP_CHECK cmd: ['echo', 'CKV_GCP_73'] - type: run cmd: ['checkov-wrapper'] capture_output: true