cnspec
throws errors with shell/scan if TF plan contains replace_paths
as array
#689
Labels
bug
Something isn't working
Describe the bug
If a Terraform plan contains changes with
cnspec scan terraform plan
throws the following error on all checks:To Reproduce
Steps to reproduce the behavior:
cnspec shell terraform plan [temp-plan.json]
cnspec> terraform.plan.resourceChanges
Expected behavior
cnspec
should not throw any errors because this is a valid format based on Hashicorp's TF plan specifications: https://developer.hashicorp.com/terraform/internals/json-format#change-representationScreenshots or CLI Output
cnspec shell terraform plan
:Similar errors are seen when using
cnspec scan terraform plan
Desktop (please complete the following information):
Additional context
temp-plan.json
:The text was updated successfully, but these errors were encountered: