-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
13
-
False
-
False
-
OCPPLAN-4444 - Installer Sustainability
-
Undefined
-
-
Sprint 200, Sprint 201, Sprint 202, Sprint 203
With terraform v0.14, destroying the bootstrap resources cascades to destroying other resources that we want to retain, for many platforms. This is because the apply (or targeted destroy) now causes all resources to be refreshed and any dependent resources to be destroyed. We should be separating the bootstrap resources into their own configurations so that we can destroy the entire configuration.
From https://www.terraform.io/docs/cli/commands/plan.html#resource-targeting,
Instead of using -target as a means to operate on isolated portions of very large configurations, prefer instead to break large configurations into several smaller configurations that can each be independently applied. Data sources can be used to access information about resources created in other configurations, allowing a complex system architecture to be broken down into more manageable parts that can be updated independently.