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
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