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

Blocks of type "check" are not expected here #1705

Open
CBennettAtBrock opened this issue Sep 13, 2024 · 0 comments
Open

Blocks of type "check" are not expected here #1705

CBennettAtBrock opened this issue Sep 13, 2024 · 0 comments

Comments

@CBennettAtBrock
Copy link

  • terrascan version: v1.19.1
  • Operating System: Windows 11 Enterprise / Github Actions Ubuntu

Description

I am trying to implement a "check" block in an Azure Redis Cache module and get the following error running terrascan (both locally and through superlinter):
Unsupported block type; Blocks of type "moved" are not expected here

What I Did

 2024-09-13 21:13:40 [INFO]   Stderr contents for TERRAFORM_TERRASCAN:
  ------
  2024-09-13T21:13:34.348Z	error	cli/run.go:141	scan run failed***error 26 0  failed to load iac file '/xxx/yyy/myFile.tf'. error:
  /xxx/yyy/myFile.tf:19,1-6: Unsupported block type; Blocks of type "check" are not expected here.
  ***
  ------
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

1 participant