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

feat(misconf): add Terraform 'removed' block to schema #6644

Closed
nikpivkin opened this issue May 7, 2024 · 0 comments · Fixed by #6640
Closed

feat(misconf): add Terraform 'removed' block to schema #6644

nikpivkin opened this issue May 7, 2024 · 0 comments · Fixed by #6640
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature. scan/misconfiguration Issues relating to misconfiguration scanning
Milestone

Comments

@nikpivkin
Copy link
Contributor

nikpivkin commented May 7, 2024

In version 1.7 of Terraform a new block type “removed” was added. Now parsing with this block causes an error. We should add it to the schema.

...
2024-05-07T12:23:22+06:00	DEBUG	[misconf] 23:22.413411000 terraform.parser.<root>          Encountered HCL parse error: main.tf:5,1-8: Unsupported block type; Blocks of type "removed" are not expected here. Did you mean "moved"
...

Ref:

@nikpivkin nikpivkin added kind/feature Categorizes issue or PR as related to a new feature. scan/misconfiguration Issues relating to misconfiguration scanning labels May 7, 2024
@nikpivkin nikpivkin self-assigned this May 7, 2024
@simar7 simar7 added this to the v0.52.0 milestone May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. scan/misconfiguration Issues relating to misconfiguration scanning
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants