Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jvitor03
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
jvitor03
4y ago
> Once you've fully adopted, then you can flip a flag to "I own the whole world" mode, where the default is to delete anything not found in the canonical configuration. That may work for a database, but for a cloud provide
2.
▲
by
jvitor03
4y ago
Looks like you are creating based on puppet or ansible, not Terraform :) The whole idea of TF is to not have to declare an absent resource for it to be destroyed, because the declarative approach already have the desired state.
3.
▲
by
jvitor03
4y ago
"Stateless is better", until you remove a tf file or resource from your code and Terraform have no way to tell if that resource ever existed in the provider during the apply to delete it, because there's nowhere to compare a