We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Terraform 1.5 introduced the import block. Using this kind of block leads to the following error in Terrascan
/github/workspace/imports.tf:1,1-7: Unsupported block type; Blocks of type "import" are not expected here.
Expectation would be that Terrascan does not throw an error and handles the import block as part of Terraform.
Add an import block like the following
import { to = aws_instance.example id = "i-abcd1234" }
Run Terrascan or the terrascan-action. It leads to the error mentioned above.
The text was updated successfully, but these errors were encountered:
Experience same issue
Sorry, something went wrong.
+1
Experiencing the same issue
No branches or pull requests
Description
Terraform 1.5 introduced the import block. Using this kind of block leads to the following error in Terrascan
Expectation would be that Terrascan does not throw an error and handles the import block as part of Terraform.
What I Did
Add an import block like the following
Run Terrascan or the terrascan-action. It leads to the error mentioned above.
The text was updated successfully, but these errors were encountered: