During Sentinel runs in Terraform Enterprise, an error message similar to the one below is observed:
"An error occurred: unsupported state format version: expected ["0.1" "0.2"], got "1.0"
Prerequisites (if applicable)
- Terraform Enterprise versions prior to v202111-1
- This error message results when Terraform plan JSON files require a higher version of terraform-json than what is supported in the current version of Terraform Enterprise.
Install a more recent version of Terraform Enterprise that includes the necessary packages to interface with newer versions of the Terraform CLI application
- Downgrade the workspace Terraform version and CLI terraform application version to a version that is compatible with your installation of Terraform Enterprise
Upon upgrade to the newest version of Terraform Enterprise (or rollback of Terraform CLI version), the error message will not persist.
If the issue persists or you have any additional questions, please reach out to Hashicorp Support.