v0.21.0
Improvements and new features @aknysh (#40)
what
- Improvements and new features
why
- Add
remote_state_backend
andremote_state_backend_type
YAML config sections. They can be used to specify a different backend (different attributes, or even a completely different backend type) for remote state. It's useful for the privileged components where we use different attributes (e.g.role_arn
orprofile
) during the cold-start and during the normal operations to get the remote state of the privileged components
# Override backend for this component
backend_type: static # s3, remote, vault, static, etc.
backend:
static:
val1: 1
val2: "2"
val3: true
val4: ""
val5: null
# Override remote state backend for this component
remote_state_backend_type: static # s3, remote, vault, static, etc.
remote_state_backend:
static:
val1: 1
val2: "2"
val3: true
val4: ""
val5: 5
The new remote_state_backend
section in YAML is similar to the backend
section - you can specify it in globals, stage globals, or override per component (which all gets deep-merged into the final remote state backend for the component). The two sections are separate and the attributes from them are not merged together