cli icon indicating copy to clipboard operation
cli copied to clipboard

FATAL ERROR: Unsupported terraform plan output format version (1.1)

Open rm185496 opened this issue 2 years ago • 5 comments

Terraform-compliance is throwing an error "FATAL ERROR: Unsupported terraform plan output format version (1.1)" TC-error

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.

rm185496 avatar May 31 '22 13:05 rm185496

Hello @rm185496 , I am currently testing it.

Should be there in few days.

eerkunt avatar May 31 '22 14:05 eerkunt

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

HBA-Ops avatar Jun 03 '22 12:06 HBA-Ops

This issue has been resolved with 1.3.3 version.

Is it ok if you upgrade your terraform-compliance and try ?

Thanks!

eerkunt avatar Jun 14 '22 07:06 eerkunt

Thanks @eerkunt - Sure will upgrade and try.

HBA-Ops avatar Jun 14 '22 09:06 HBA-Ops

Thanks @eerkunt - Sure will upgrade and try.

@eerkunt - this fix works fine with the latest library. Thanks for the fix

HBA-Ops avatar Jun 30 '22 12:06 HBA-Ops