terraform: Adding provisioners to a resource

This commit is contained in:
Armon Dadgar 2014-07-07 15:24:20 -07:00
parent d46ca67f92
commit 55124b9e28
1 changed files with 6 additions and 5 deletions

View File

@ -13,11 +13,12 @@ import (
// its current state, and potentially a desired diff from the state it
// wants to reach.
type Resource struct {
Id string
Config *ResourceConfig
Diff *ResourceDiff
Provider ResourceProvider
State *ResourceState
Id string
Config *ResourceConfig
Diff *ResourceDiff
Provider ResourceProvider
State *ResourceState
Provisioners []ResourceProvisioner
}
// Vars returns the mapping of variables that should be replaced in