terraform: Added NewExtra field for providers to fill in data

This commit is contained in:
Mitchell Hashimoto 2014-07-01 11:23:40 -07:00
parent 2aed2fd96f
commit fb843ea5bf
1 changed files with 5 additions and 4 deletions

View File

@ -156,10 +156,11 @@ type ResourceDiff struct {
// ResourceAttrDiff is the diff of a single attribute of a resource.
type ResourceAttrDiff struct {
Old string // Old Value
New string // New Value
NewComputed bool // True if new value is computed (unknown currently)
RequiresNew bool // True if change requires new resource
Old string // Old Value
New string // New Value
NewComputed bool // True if new value is computed (unknown currently)
NewExtra interface{} // Extra information for the provider
RequiresNew bool // True if change requires new resource
Type DiffAttrType
}