terraform: Added NewExtra field for providers to fill in data
This commit is contained in:
parent
2aed2fd96f
commit
fb843ea5bf
|
@ -156,10 +156,11 @@ type ResourceDiff struct {
|
||||||
|
|
||||||
// ResourceAttrDiff is the diff of a single attribute of a resource.
|
// ResourceAttrDiff is the diff of a single attribute of a resource.
|
||||||
type ResourceAttrDiff struct {
|
type ResourceAttrDiff struct {
|
||||||
Old string // Old Value
|
Old string // Old Value
|
||||||
New string // New Value
|
New string // New Value
|
||||||
NewComputed bool // True if new value is computed (unknown currently)
|
NewComputed bool // True if new value is computed (unknown currently)
|
||||||
RequiresNew bool // True if change requires new resource
|
NewExtra interface{} // Extra information for the provider
|
||||||
|
RequiresNew bool // True if change requires new resource
|
||||||
Type DiffAttrType
|
Type DiffAttrType
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue