terraform-compliance / cli

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

FATAL ERROR: Unsupported terraform version (1.7.0) #727

Closed sharanyakg97 closed 6 months ago

sharanyakg97 commented 6 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: