comment updates

This commit is contained in:
James Bardin 2021-01-20 10:17:29 -05:00
parent 21896f74af
commit 439d06b29f
2 changed files with 4 additions and 5 deletions

View File

@ -77,8 +77,7 @@ type EvalContext interface {
ProviderInput(addrs.AbsProviderConfig) map[string]cty.Value ProviderInput(addrs.AbsProviderConfig) map[string]cty.Value
SetProviderInput(addrs.AbsProviderConfig, map[string]cty.Value) SetProviderInput(addrs.AbsProviderConfig, map[string]cty.Value)
// Provisioner gets the provisioner instance with the given name (already // Provisioner gets the provisioner instance with the given name.
// initialized) or returns nil if the provisioner isn't initialized.
Provisioner(string) (provisioners.Interface, error) Provisioner(string) (provisioners.Interface, error)
// ProvisionerSchema retrieves the main configuration schema for a // ProvisionerSchema retrieves the main configuration schema for a

View File

@ -140,9 +140,9 @@ func (n *nodeExpandModule) Execute(ctx EvalContext, op walkOperation) (diags tfd
// wait on this node. // wait on this node.
// Besides providing a root node for dependency ordering, nodeCloseModule also // Besides providing a root node for dependency ordering, nodeCloseModule also
// cleans up state after all the module nodes have been evaluated, removing // cleans up state after all the module nodes have been evaluated, removing
// empty resources and modules from the state, and closes a remaining // empty resources and modules from the state.
// provisioner plugins which do not have a lifecycle controlled controlled by // The root module instance also closes any remaining provisioner plugins which
// individual graph nodes. // do not have a lifecycle controlled by individual graph nodes.
type nodeCloseModule struct { type nodeCloseModule struct {
Addr addrs.Module Addr addrs.Module
} }