Merge pull request #18549 from hashicorp/jbardin/providers

minor protocol updates
pull/18552/head
James Bardin 8 years ago committed by GitHub
commit ded8b59bc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -227,6 +227,12 @@ type ApplyResourceChangeRequest struct {
// represent the new state, minus any remaining computed attributes.
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 []byte
}
@ -237,10 +243,6 @@ type ApplyResourceChangeResponse struct {
// known state of the resource, if it exists.
NewState cty.Value
// Connection is used to return any information provisioners might require
// to cty.Value
Connection cty.Value
// Private is an opaque blob that will be stored in state along with the
// resource. It is intended only for interpretation by the provider itself.
Private []byte

Loading…
Cancel
Save