3 ms·
I'm not so sure about this. My experience has been limited, but so far, Terraform has been a treat to work with. I didn't think Terraform cared about where the
by _ix 9y ago
I'm not so sure about this. My experience has been limited, but so far, Terraform has been a treat to work with. I didn't think Terraform cared about where the resources were defined in a the plan step. I'd love for someone with further experience to weigh in here.
Also, Terraform state on the file system? Do you have the luxury of solo development without the need for a Terraform remote backend?
- ben0x539 9y agoI think the complaint is that you define a resource in some module, then do a bunch of refactoring with the result that the very same resource is now defined in another module, terraform will need to be explicitly told that it's still the same resource or else it will destroy and recreate it on application. That is, it's about the file system layout of the .tf tree, not the state.
- inferiorhuman 9y agoThere's also tf import and tf delete to manually import resources to your state and remove them respectively.