add config value to ApplyResourceChange
Providers will also need the config for reference during apply, in case some of the config values were still unknown during plan.
This commit is contained in:
parent
05e85885f9
commit
cd53b333f2
|
@ -227,6 +227,12 @@ type ApplyResourceChangeRequest struct {
|
||||||
// represent the new state, minus any remaining computed attributes.
|
// represent the new state, minus any remaining computed attributes.
|
||||||
PlannedState cty.Value
|
PlannedState cty.Value
|
||||||
|
|
||||||
|
// Config is the resource configuration, before being merged with the
|
||||||
|
// PriorState. Any value not explicitly set in the configuration will be
|
||||||
|
// null. Config is supplied for reference, but Provider implementations
|
||||||
|
// should prefer the PlannedState in most circumstances.
|
||||||
|
Config cty.Value
|
||||||
|
|
||||||
// PlannedPrivate is the same value as returned by PlanResourceChange.
|
// PlannedPrivate is the same value as returned by PlanResourceChange.
|
||||||
PlannedPrivate []byte
|
PlannedPrivate []byte
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue