cli
cli copied to clipboard
FATAL ERROR: Unsupported terraform plan output format version (1.1)
Terraform-compliance is throwing an error "FATAL ERROR: Unsupported terraform plan output format version (1.1)"
I referred to this https://github.com/terraform-compliance/cli/issues/575 and it suggested me to update my terraform-compliance.
But I am on latest version of terraform-compliance (1.3.32)
My terraform version is 1.2.0
My feature file is:
Feature: Ensure with tags
Scenario: Ensure all resources have tags
Given I have resource that supports tags defined
Then it must contain tags
And its value must not be null
Scenario: Ensure all resources have the whitelist tag
Given I have resource that supports tags defined
Then it must contain tags
And its value must contain whitelist
Could you please help me with this.
Hello @rm185496 , I am currently testing it.
Should be there in few days.
Thanks @rm185496 , I could reproduce the same issue at my end.
@eerkunt - just to add more details - With terraform 1.1.9 and terraform compliance 1.3.2 - terraform compliance works - plan file format is 1.0 with terraform 1.2.X and terraform compliance 1.3.2 - terraform compliance does not work - plan file format is 1.1
@eerkunt - Thanks for looking into it and looking forward for the fix
This issue has been resolved with 1.3.3 version.
Is it ok if you upgrade your terraform-compliance and try ?
Thanks!
Thanks @eerkunt - Sure will upgrade and try.
Thanks @eerkunt - Sure will upgrade and try.
@eerkunt - this fix works fine with the latest library. Thanks for the fix