checkov
checkov copied to clipboard
Expose variables from terraform plan
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?