While importing infrastructure using config-driven imports, the run fails with the following error:
│ Error: Compatibility error
│ Error reading TFC agent version. To proceed, please remove any import
│ blocks from your config. Please report the following error to the Terraform
│ team: TFC_AGENT_VERSION not present.
- Terraform Cloud workspace in agent execution mode
1.5.0 will attempt to detect the version of the Terraform Cloud Agent executing the run to determine its supported features. Support for Terraform v1.5 was added in
v1.10.0 of the Terraform Cloud Agent. While the Terraform Cloud Agent automatically updates itself to the latest minor version, in some workflows this feature may be opted to be disabled and the agent version pinned to a lower version.
Update the Terraform Cloud Agent to version
v1.10.0 or greater by pulling the latest image or downloading the latest agent release.