# Terraform version upgrade to 0.13.7 to 0.14.2 but state file is not updated

**URL:** <https://discuss.hashicorp.com/t/terraform-version-upgrade-to-0-13-7-to-0-14-2-but-state-file-is-not-updated/64014>\
**Category:** Terraform\
**Created:** [March 26, 2024, 7:27am UTC](https://discuss.hashicorp.com/t/terraform-version-upgrade-to-0-13-7-to-0-14-2-but-state-file-is-not-updated/64014 "2024-03-26T07:27:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![adamarashetti](https://avatars.discourse-cdn.com/v4/letter/a/f6c823/32.png) [@adamarashetti](https://discuss.hashicorp.com/u/adamarashetti)\
**Post date:** [March 26, 2024, 7:27am UTC](https://discuss.hashicorp.com/t/terraform-version-upgrade-to-0-13-7-to-0-14-2-but-state-file-is-not-updated/64014/1 "2024-03-26T07:27:02Z")

</div>

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.

used terraform refresh is also not working

how can I can get the solution for this

---

<div class="post-metadata">

**Author:** ![jbardin](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/jbardin/32/3325_2.png) [@jbardin](https://discuss.hashicorp.com/u/jbardin)\
**Post date:** [March 26, 2024, 1:57pm UTC](https://discuss.hashicorp.com/t/terraform-version-upgrade-to-0-13-7-to-0-14-2-but-state-file-is-not-updated/64014/2 "2024-03-26T13:57:34Z")

</div>

Hi @adamarashetti,

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.

---

<div class="post-metadata">

**Author:** ![adamarashetti](https://avatars.discourse-cdn.com/v4/letter/a/f6c823/32.png) [@adamarashetti](https://discuss.hashicorp.com/u/adamarashetti)\
**Post date:** [March 27, 2024, 4:27am UTC](https://discuss.hashicorp.com/t/terraform-version-upgrade-to-0-13-7-to-0-14-2-but-state-file-is-not-updated/64014/3 "2024-03-27T04:27:11Z")

</div>

Hi @jbardin How can idientify that and can resolve the issue?

---

<div class="post-metadata">

**Author:** ![jbardin](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/jbardin/32/3325_2.png) [@jbardin](https://discuss.hashicorp.com/u/jbardin)\
**Post date:** [March 27, 2024, 1:32pm UTC](https://discuss.hashicorp.com/t/terraform-version-upgrade-to-0-13-7-to-0-14-2-but-state-file-is-not-updated/64014/4 "2024-03-27T13:32:58Z")

</div>

Sorry, I don’t understand. Can you explain what you want to identify, and what issue you want to resolve?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/hashicorp/original/1X/79bf76adfd92a75631996933098f9ce29d37abf3.svg) [@system](https://discuss.hashicorp.com/u/system)\
**Post date:** [September 23, 2024, 1:33pm UTC](https://discuss.hashicorp.com/t/terraform-version-upgrade-to-0-13-7-to-0-14-2-but-state-file-is-not-updated/64014/5 "2024-09-23T13:33:19Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
