Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validate error format_version #1483

Open
kuroseets opened this issue Dec 13, 2022 · 1 comment
Open

validate error format_version #1483

kuroseets opened this issue Dec 13, 2022 · 1 comment

Comments

@kuroseets
Copy link

  • terrascan version: 1.17.0
  • terraform version: 1.3.5
  • format_version: 1.1

Description

t is the same as other issues( #980 ).
The test to validate the terraform format_version is out of date.

What I Did

Basic scan of a terraform plan

terrascan scan -i tfplan -f tfplan.json

Error

2022-12-13T09:30:12.692+0900	error	cli/run.go:138	scan run failed{error 26 0  invalid terraform json file; error: 'terraform format version shoule be one of '0.1, 0.2''}
@AnhQKatalon
Copy link

Meet exactly the same issue

terrascan scan --iac-type tfplan --iac-file plan.json

2023-04-05T13:32:20.398+0700    error   cli/run.go:141  scan run failed{error 26 0  invalid terraform json file; error: 'terraform format version shoule be one of '0.1, 0.2''}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants