Re:Terraform 0.15 General Availability
by mohsen0 on Wednesday April 14, 2021 @03:42PM
(#26812064)
It becomes much easier between other versions.
Though upgrading 0.12 to 0.13 I remember, i had to pull the state and change the provider field manually to avoid recreation of some resources.
[ Parent
| on HN ]
> i had to pull the state and change the provider field manually to avoid recreation of some resources.
Terraform CLI introduced an upgrade command (can't remember what it's called) that automatically does this for you.
Re:Terraform 0.15 General Availability
by erik_seaberg on Wednesday April 14, 2021 @05:30PM
(#26813367)
In 0.14 that is no longer available.
Terraform 0.14 is pretty much fully compatible with 0.13, so no such command is necessary. All you have to do is make sure your state is for version 0.13. Outside that it's a bunch of usability changes that do not affect your tf code.