I am trying to upgrade the terraform version from 0.13.7 to 0.14.2 in my project for some modules through aws cli and it is showing that version changes are upgraded but no statefile terraform version has changed. still it is showing 0.13.7.
i used jenkins for automation deploy even same issue.
If you can plan and apply with the new version of Terraform, then there is nothing to solve. The version string stored in the state is an internal implementation detail, and not directly relevant to the version you are running.