Migrate Legacy settings.depends_on
Deprecated
settings.depends_on is supported only for backward compatibility. New and updated configurations must use dependencies.components. Use dependencies.files and dependencies.folders for external paths.
Migration
Replace the map under settings.depends_on with a list under dependencies.components. Change component to name, and replace the legacy context fields with an explicit stack value, optionally constructed with a Go template.
Before (legacy)
After (current)
Field Mapping
| Legacy field | Current form |
|---|---|
component | name |
namespace, tenant, environment, stage | stack, optionally using a Go template |
file | dependencies.files |
folder | dependencies.folders |
The new format can also declare a cross-type dependency with kind. See Component Dependencies for the complete schema, merge behavior, and examples.