Terraform 0.13.x to 0.15.x upgrade

From the docs it shows one must step through a lot of steps when migrating from one release to another. Here’s the doc for the 0.14 upgrade. However, we have an instance that a bug found in 0.13 was not fixed until 0.15. With customers currently using 0.13 with their deployments, upgrading to 0.15 would be ideal. There is no need for them to use 0.14 at all. What are the drawbacks using these steps:

  • Install 0.13
  • tf init
  • tf apply . . . # Initial 0.13 deployment
  • Install 0.15
  • tf init
  • tf apply . . . # Upgrade to 0.15 adjusting the tfstate file

Hi @thpang,

Without seeing exactly what’s in your configuration it’s unfortunately difficult to give an answer other than to advise you to read the upgrade gude you already saw to see if any of the upgrade concerns there apply to you. If none of of those situations apply to your configuration then you may be able to upgrade directly from v0.13 to v0.15, but the only way to know for certain would be to try it to see.