# I am trying to upgrade my tf version from tf0.12 to tf0.13 & tf1.0.1.The template provider is not available for darwin\_amd64

**URL:** <https://discuss.hashicorp.com/t/i-am-trying-to-upgrade-my-tf-version-from-tf0-12-to-tf0-13-tf1-0-1-the-template-provider-is-not-available-for-darwin-amd64/54130>\
**Category:** Terraform Providers\
**Created:** [May 24, 2023, 12:36am UTC](https://discuss.hashicorp.com/t/i-am-trying-to-upgrade-my-tf-version-from-tf0-12-to-tf0-13-tf1-0-1-the-template-provider-is-not-available-for-darwin-amd64/54130 "2023-05-24T00:36:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shrikantbrahmbhatt](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@shrikantbrahmbhatt](https://discuss.hashicorp.com/u/shrikantbrahmbhatt)\
**Post date:** [May 24, 2023, 12:36am UTC](https://discuss.hashicorp.com/t/i-am-trying-to-upgrade-my-tf-version-from-tf0-12-to-tf0-13-tf1-0-1-the-template-provider-is-not-available-for-darwin-amd64/54130/1 "2023-05-24T00:36:32Z")

</div>

I removed hashicop/template dependencies from my configuration but my state files still have dependencies how to remove it

---

<div class="post-metadata">

**Author:** ![maxb](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/maxb/32/26655_2.png) [@maxb](https://discuss.hashicorp.com/u/maxb)\
**Post date:** [May 24, 2023, 6:36am UTC](https://discuss.hashicorp.com/t/i-am-trying-to-upgrade-my-tf-version-from-tf0-12-to-tf0-13-tf1-0-1-the-template-provider-is-not-available-for-darwin-amd64/54130/2 "2023-05-24T06:36:58Z")

</div>

I guess you could use `terraform state list` to find all the template instances in state and `terraform state rm` to remove them.

---

<div class="post-metadata">

**Author:** ![shrikantbrahmbhatt](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@shrikantbrahmbhatt](https://discuss.hashicorp.com/u/shrikantbrahmbhatt)\
**Post date:** [May 25, 2023, 9:17pm UTC](https://discuss.hashicorp.com/t/i-am-trying-to-upgrade-my-tf-version-from-tf0-12-to-tf0-13-tf1-0-1-the-template-provider-is-not-available-for-darwin-amd64/54130/3 "2023-05-25T21:17:58Z")

</div>

Thanks Maz,i did same while i was moving from tf12 to tf 13 all until now in amd. And no issues finding provider in 13 plan.I than try to upgrade using tf1.0.1 amd binary and it threw error the provider not available .Hence to try i used arm1.0.1 binary which is actual one needed for mac and it had no issues .But when put on git which has gitlab runners running on linux it threw error that  
Error: Failed to install provider

[225](https://code.pan.run/trs/infrastructure/trsi-deploy/-/jobs/26582659#L225)│

[226](https://code.pan.run/trs/infrastructure/trsi-deploy/-/jobs/26582659#L226)│ Error while installing hashicorp/template v2.2.0: the current package for

[227](https://code.pan.run/trs/infrastructure/trsi-deploy/-/jobs/26582659#L227)│ [Terraform Registry](http://registry.terraform.io/hashicorp/template) 2.2.0 doesn’t match any of the

[228](https://code.pan.run/trs/infrastructure/trsi-deploy/-/jobs/26582659#L228)│ checksums previously recorded in the dependency lock file
