terraform-compliance / cli

a lightweight, security focused, BDD test framework against terraform.
https://terraform-compliance.com
MIT License
1.36k stars 150 forks source link

FATAL ERROR: Unsupported terraform version (1.7.0) #727

Closed sharanyakg97 closed 10 months ago

sharanyakg97 commented 10 months ago

Description

FATAL ERROR: Unsupported terraform version (1.7.0) Getting the above error, code was working fine. As the terraform version has got upgraded to 1.7.0 on 17th Jan, it is not working since then. https://github.com/hashicorp/terraform/releases

Can you please provide the permanent solution because every time terraform gets upgraded, the code stops working

To Reproduce

Feature File:

Given I have ....
When it contains ...
Then it must ....
And it must ...

Plan File:

Sample Terraform Code:

resource "aws_s3_bucket" "example_code" {
   bucket = "This is just a sample code"
}

Used terraform-compliance Parameters:

Running via Docker:

Error Output:

Expected Behavior:

Tested Versions:

Additional Context: