Skip to content

Fix terraform tfstate to an specific version - #349

Merged
DavidGOrtega merged 1 commit into
masterfrom
hotfix/fix-tf-version
Nov 20, 2020
Merged

DavidGOrtega merged 1 commit into
masterfrom
hotfix/fix-tf-version

Conversation

@DavidGOrtega

Copy link
Copy Markdown
Contributor

TF can handle a tfstate generated with a previous version of TF however its not the case for newer TF versions.
I have considered and tested many versions like restrict the version or install the specific version in cml deferred (first approach) however thats slow and a spot instance could be released before TF even finishes the install.

closes #344

@DavidGOrtega
DavidGOrtega merged commit e8a001a into master Nov 20, 2020
@DavidGOrtega
DavidGOrtega deleted the hotfix/fix-tf-version branch November 20, 2020 11:08
@Snehil03

Copy link
Copy Markdown

@DavidGOrtega : what's the fix for this issue ?

@DavidGOrtega

DavidGOrtega commented Feb 11, 2021 •

Copy link
Copy Markdown
Contributor Author

👋 @Snehil03 Very old approach this one. This was setting the terraform version in the tfstate file. It works different now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error refreshing state: state snapshot was created by Terraform v0.13.5, which is newer than current v0.13.2;

2 participants