News for hackers. Stuff that matters.
Re:Terraform should have remained stateless by moondev on Saturday May 28, 2022 @02:45AM (#31538138)
What about the opposite which is how kubectl works.

"terraform delete" only deletes what is in your config. "terraform apply" only creates and/or updates what is in your config. If you remove a resource from your config after applying it, it's your responsibility to manually delete it.

Re:Terraform should have remained stateless by pharmakom on Saturday May 28, 2022 @03:19AM (#31538291)
Not having to manually delete is one of the reasons I use Terraform. Managing state is much less painful than that would be.