Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: