Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rm185496 opened this issue May 31, 2022 · 5 comments
Open
Labels
waiting for confirmation Workaround/Fix applied, waiting for confirmation

Comments

@rm185496
Copy link

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

I referred to this #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.

@eerkunt
Copy link
Member

eerkunt commented May 31, 2022

Hello @rm185496 , I am currently testing it.

Should be there in few days.

@HBA-Ops
Copy link

HBA-Ops commented Jun 3, 2022

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

@eerkunt
Copy link
Member

eerkunt commented Jun 14, 2022

This issue has been resolved with 1.3.3 version.

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

Thanks!

@eerkunt eerkunt added the waiting for confirmation Workaround/Fix applied, waiting for confirmation label Jun 14, 2022
@HBA-Ops
Copy link

HBA-Ops commented Jun 14, 2022

Thanks @eerkunt - Sure will upgrade and try.

@HBA-Ops
Copy link

HBA-Ops commented Jun 30, 2022

Thanks @eerkunt - Sure will upgrade and try.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for confirmation Workaround/Fix applied, waiting for confirmation
Projects
None yet
Development

No branches or pull requests

3 participants