terraform: comments
This commit is contained in:
parent
e5868ebdd9
commit
c52a21d680
|
@ -33,6 +33,12 @@ type Hook interface {
|
||||||
PostDiff(*InstanceInfo, *InstanceDiff) (HookAction, error)
|
PostDiff(*InstanceInfo, *InstanceDiff) (HookAction, error)
|
||||||
|
|
||||||
// Provisioning hooks
|
// Provisioning hooks
|
||||||
|
//
|
||||||
|
// All should be self-explanatory. ProvisionOutput is called with
|
||||||
|
// output sent back by the provisioners. This will be called multiple
|
||||||
|
// times as output comes in, but each call should represent a line of
|
||||||
|
// output. The ProvisionOutput method cannot control whether the
|
||||||
|
// hook continues running.
|
||||||
PreProvisionResource(*InstanceInfo, *InstanceState) (HookAction, error)
|
PreProvisionResource(*InstanceInfo, *InstanceState) (HookAction, error)
|
||||||
PostProvisionResource(*InstanceInfo, *InstanceState) (HookAction, error)
|
PostProvisionResource(*InstanceInfo, *InstanceState) (HookAction, error)
|
||||||
PreProvision(*InstanceInfo, string) (HookAction, error)
|
PreProvision(*InstanceInfo, string) (HookAction, error)
|
||||||
|
|
Loading…
Reference in New Issue