terraform-compliance / cli

a lightweight, security focused, BDD test framework against terraform.

Home Page:https://terraform-compliance.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FATAL ERROR: Unsupported terraform version (1.7.0)

sharanyakg97 opened this issue · comments

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:

  • terraform-compliance version: your terraform-compliance version
  • terraform version: your terraform version
  • python version: your python runtime version, if running as a python package

Additional Context: