extend block overrides specific attributes of an existing block for a target environment. Non-overridden attributes are inherited from base. No Terraform equivalent.
Syntax
Example
File Layout
Supported Block Types
| Block | Syntax |
|---|---|
unit | extend "unit" "resource_type" "name" { ... } |
deploy | extend "deploy" "type" "name" { ... } |
sync | extend "sync" "type" "name" { ... } |
component | extend "component" "name" { ... } |
input, output, local, and extend blocks cannot be extended.
Validation
- Target block must exist in the base files
- Unknown attributes pass through without schema check
