checkov icon indicating copy to clipboard operation
checkov copied to clipboard

Expose variables from terraform plan

Open nurdann opened this issue 3 weeks ago • 0 comments

Describe the feature

Terraform plan provides variables key which currently cannot read from BaseResourceCheck.scan_resource_conf

Examples

{
  "format_version": "1.0",
  "terraform_version": "1.0.0",
  "variables": {
    "account": {
      "value": "dev"
    }
   },
   ...
}

Additional context

Would it be possible to read variables that are in the plan file?

nurdann avatar Dec 09 '25 20:12 nurdann