env0 / env0/env0-migration-tool

Enhancement: validate Terraform version before running state migration

Open
#10 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HCL
Stars
1
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Running Terraform version>=1.6.0 causes issues with connecting to env0's remote backend, and requires running commands for unlocking the state. However the versions mismatch between the environment and local Terraform versions and the action fails.

DOD:
when running a Terraform version greater or equal to 1.6.0, fail the migration script.

Known workaround:
use TFENV for changing local Terraform versions when such action need to be executed

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.