News for hackers. Stuff that matters.
Re:Ask HN: Why Terraform Was Created? by dragonwriter on Wednesday January 11, 2023 @11:52AM (#34340698)
You could code a set of scripts to create a set of resources from scratch. Then another set to tear them down. And maintain and rub those as the resources change. And make sure they have options so that you can only tear down and re-set up the resources necessary when you have isolated changes abd don’t want to destroy the whole stack. And do ad hoc one time scripts every time you you want to make a change that doesn’t require tearing resources down, but also make sure the changes are reflected in the build (and, if necessary, take down) scripts.

Or you could just describe and maintain the desired state in cloudformation, terraform, etc. and let the associated runtime handle termining the changes to apply.

I know which I prefer, but you do you.

There are no comments on this comment yet.