Terraform

The Terraform analyzer analyzes your terraform files and raises issues if there are any security risks in your code.

This section covers configuration specific to the terraform analyzer. Please make sure to read the general configuration guide first.

Configuration - .deepsource.toml

name

  • Type: String
  • Presence: mandatory
  • Description: Shortcode of the analyzer.
  • Example:
name = "terraform"

enabled

  • Type: Boolean
  • Presence: optional
  • Description: Toggle whether this analyzer should be run.
  • Example:
enabled = true

Sample config

version = 1

[[analyzers]]
name = "terraform"
enabled = true