sponson init adopts them into the plan.
Run init
sponson plan lists resources the plan does not know about as unmanaged drift, and never touches them. To adopt
one at a time, pass its key: sponson init --adopt <key>. The keys are in sponson plan --json, under drift.
What adoption writes
Adopted variables are written as{ keep: true }, which means “whatever value is live”. The value is never copied
into the repository, and an adopted resource is never destroyed, not even by sponson apply --destroy. Replace
{ keep: true } with a literal or a reference when you want Sponson to manage the value from then on.
- The value form:
{ keep: true }in the plan format. - A complete plan as
initwrites it: Examples. - Why it works this way: ADR 0007.