top | item 26812441

(no title)

dastx | 4 years ago

> 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.

discuss

order

erik_seaberg|4 years ago

In 0.14 that is no longer available.

dastx|4 years ago

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.