Versions in this module Expand all Collapse all v0 v0.1.6 Jun 19, 2021 Changes in this version + const StateVersion + var ErrNoState = errors.New("no state") + var EvalDataForNoInstanceKey = InstanceKeyEvalData + var GraphTypeMap = map[string]GraphType + func CheckCoreVersionRequirements(config *configs.Config) tfdiags.Diagnostics + func ConfigTreeDependencies(root *configs.Config, state *states.State) *moduledeps.Module + func ConnectionBlockSupersetSchema() *configschema.Block + func Eval(n EvalNode, ctx EvalContext) (interface{}, error) + func EvalRaw(n EvalNode, ctx EvalContext) (interface{}, error) + func GraphDot(g *Graph, opts *dag.DotOpts) (string, error) + func MustShimLegacyState(legacy *State) *states.State + func ParseResourceIndex(s string) (int, error) + func ParseResourcePath(s string) []string + func PathObjectCacheKey(path addrs.ModuleInstance, objectName string) string + func ProviderHasDataSource(p ResourceProvider, n string) bool + func ProviderHasResource(p ResourceProvider, n string) bool + func ReadStateV1(jsonBytes []byte) (*stateV1, error) + func ReferencesFromConfig(body hcl.Body, schema *configschema.Block) []*addrs.Reference + func ShimLegacyState(legacy *State) (*states.State, error) + func TestStateFile(t *testing.T, path string, state *State) + func UpgradeResourceState(addr addrs.AbsResourceInstance, provider providers.Interface, ...) (*states.ResourceInstanceObjectSrc, tfdiags.Diagnostics) + func WritePlan(d *Plan, dst io.Writer) error + func WriteState(d *State, dst io.Writer) error + type ApplyGraphBuilder struct + Changes *plans.Changes + Components contextComponentFactory + Config *configs.Config + Destroy bool + DisableReduce bool + Schemas *Schemas + State *states.State + Targets []addrs.Targetable + Validate bool + func (b *ApplyGraphBuilder) Build(path addrs.ModuleInstance) (*Graph, tfdiags.Diagnostics) + func (b *ApplyGraphBuilder) Steps() []GraphTransformer + type AttachResourceConfigTransformer struct + Config *configs.Config + func (t *AttachResourceConfigTransformer) Transform(g *Graph) error + type AttachSchemaTransformer struct + Schemas *Schemas + func (t *AttachSchemaTransformer) Transform(g *Graph) error + type AttachStateTransformer struct + State *states.State + func (t *AttachStateTransformer) Transform(g *Graph) error + type BackendState struct + ConfigRaw json.RawMessage + Hash uint64 + Type string + func (s *BackendState) Config(schema *configschema.Block) (cty.Value, error) + func (s *BackendState) Empty() bool + func (s *BackendState) ForPlan(schema *configschema.Block, workspaceName string) (*plans.Backend, error) + func (s *BackendState) SetConfig(val cty.Value, schema *configschema.Block) error + type BasicGraphBuilder struct + Name string + Steps []GraphTransformer + Validate bool + func (b *BasicGraphBuilder) Build(path addrs.ModuleInstance) (*Graph, tfdiags.Diagnostics) + type BuiltinEvalContext struct + ChangesValue *plans.ChangesSync + Components contextComponentFactory + Evaluator *Evaluator + Hooks []Hook + InputValue UIInput + PathValue addrs.ModuleInstance + ProviderCache map[string]providers.Interface + ProviderInputConfig map[string]map[string]cty.Value + ProviderLock *sync.Mutex + ProvisionerCache map[string]provisioners.Interface + ProvisionerLock *sync.Mutex + Schemas *Schemas + StateValue *states.SyncState + StopContext context.Context + VariableValues map[string]map[string]cty.Value + VariableValuesLock *sync.Mutex + func (ctx *BuiltinEvalContext) Changes() *plans.ChangesSync + func (ctx *BuiltinEvalContext) CloseProvider(addr addrs.ProviderConfig) error + func (ctx *BuiltinEvalContext) CloseProvisioner(n string) error + func (ctx *BuiltinEvalContext) ConfigureProvider(addr addrs.ProviderConfig, cfg cty.Value) tfdiags.Diagnostics + func (ctx *BuiltinEvalContext) EvaluateBlock(body hcl.Body, schema *configschema.Block, self addrs.Referenceable, ...) (cty.Value, hcl.Body, tfdiags.Diagnostics) + func (ctx *BuiltinEvalContext) EvaluateExpr(expr hcl.Expression, wantType cty.Type, self addrs.Referenceable) (cty.Value, tfdiags.Diagnostics) + func (ctx *BuiltinEvalContext) EvaluationScope(self addrs.Referenceable, keyData InstanceKeyEvalData) *lang.Scope + func (ctx *BuiltinEvalContext) Hook(fn func(Hook) (HookAction, error)) error + func (ctx *BuiltinEvalContext) InitProvider(typeName string, addr addrs.ProviderConfig) (providers.Interface, error) + func (ctx *BuiltinEvalContext) InitProvisioner(n string) (provisioners.Interface, error) + func (ctx *BuiltinEvalContext) Input() UIInput + func (ctx *BuiltinEvalContext) Path() addrs.ModuleInstance + func (ctx *BuiltinEvalContext) Provider(addr addrs.AbsProviderConfig) providers.Interface + func (ctx *BuiltinEvalContext) ProviderInput(pc addrs.ProviderConfig) map[string]cty.Value + func (ctx *BuiltinEvalContext) ProviderSchema(addr addrs.AbsProviderConfig) *ProviderSchema + func (ctx *BuiltinEvalContext) Provisioner(n string) provisioners.Interface + func (ctx *BuiltinEvalContext) ProvisionerSchema(n string) *configschema.Block + func (ctx *BuiltinEvalContext) SetModuleCallArguments(n addrs.ModuleCallInstance, vals map[string]cty.Value) + func (ctx *BuiltinEvalContext) SetProviderInput(pc addrs.ProviderConfig, c map[string]cty.Value) + func (ctx *BuiltinEvalContext) State() *states.SyncState + func (ctx *BuiltinEvalContext) Stopped() <-chan struct{} + type CBDEdgeTransformer struct + Config *configs.Config + Destroy bool + Schemas *Schemas + State *states.State + func (t *CBDEdgeTransformer) Transform(g *Graph) error + type CallbackUIOutput struct + OutputFn func(string) + func (o *CallbackUIOutput) Output(v string) + type CloseProviderTransformer struct + func (t *CloseProviderTransformer) Transform(g *Graph) error + type CloseProvisionerTransformer struct + func (t *CloseProvisionerTransformer) Transform(g *Graph) error + type ConcreteProviderNodeFunc func(*NodeAbstractProvider) dag.Vertex + type ConcreteResourceInstanceDeposedNodeFunc func(*NodeAbstractResourceInstance, states.DeposedKey) dag.Vertex + type ConcreteResourceInstanceNodeFunc func(*NodeAbstractResourceInstance) dag.Vertex + type ConcreteResourceNodeFunc func(*NodeAbstractResource) dag.Vertex + type ConfigTransformer struct + Concrete ConcreteResourceNodeFunc + Config *configs.Config + Mode addrs.ResourceMode + ModeFilter bool + Unique bool + func (t *ConfigTransformer) Transform(g *Graph) error + type Context struct + func NewContext(opts *ContextOpts) (*Context, tfdiags.Diagnostics) + func (c *Context) Apply() (*states.State, tfdiags.Diagnostics) + func (c *Context) Config() *configs.Config + func (c *Context) Eval(path addrs.ModuleInstance) (*lang.Scope, tfdiags.Diagnostics) + func (c *Context) Graph(typ GraphType, opts *ContextGraphOpts) (*Graph, tfdiags.Diagnostics) + func (c *Context) Import(opts *ImportOpts) (*states.State, tfdiags.Diagnostics) + func (c *Context) Input(mode InputMode) tfdiags.Diagnostics + func (c *Context) Plan() (*plans.Plan, tfdiags.Diagnostics) + func (c *Context) Refresh() (*states.State, tfdiags.Diagnostics) + func (c *Context) Schemas() *Schemas + func (c *Context) SetVariable(k string, v cty.Value) + func (c *Context) ShadowError() error + func (c *Context) State() *states.State + func (c *Context) Stop() + func (c *Context) Validate() tfdiags.Diagnostics + func (c *Context) Variables() InputValues + type ContextGraphOpts struct + Validate bool + Verbose bool + type ContextGraphWalker struct + Changes *plans.ChangesSync + Context *Context + NonFatalDiagnostics tfdiags.Diagnostics + Operation walkOperation + RootVariableValues InputValues + State *states.SyncState + StopContext context.Context + func (w *ContextGraphWalker) EnterEvalTree(v dag.Vertex, n EvalNode) EvalNode + func (w *ContextGraphWalker) EnterPath(path addrs.ModuleInstance) EvalContext + func (w *ContextGraphWalker) ExitEvalTree(v dag.Vertex, output interface{}, err error) tfdiags.Diagnostics + type ContextMeta struct + Env string + type ContextOpts struct + Changes *plans.Changes + Config *configs.Config + Destroy bool + Hooks []Hook + Meta *ContextMeta + Parallelism int + ProviderResolver providers.Resolver + ProviderSHA256s map[string][]byte + Provisioners map[string]ProvisionerFactory + SkipProviderVerify bool + State *states.State + Targets []addrs.Targetable + UIInput UIInput + Variables InputValues + type CountBoundaryTransformer struct + Config *configs.Config + func (t *CountBoundaryTransformer) Transform(g *Graph) error + type DataSource struct + Name string + SchemaAvailable bool + type DestroyEdge struct + S dag.Vertex + T dag.Vertex + func (e *DestroyEdge) Hashcode() interface{} + func (e *DestroyEdge) Source() dag.Vertex + func (e *DestroyEdge) Target() dag.Vertex + type DestroyEdgeTransformer struct + Config *configs.Config + Schemas *Schemas + State *states.State + func (t *DestroyEdgeTransformer) Transform(g *Graph) error + type DestroyOutputTransformer struct + func (t *DestroyOutputTransformer) Transform(g *Graph) error + type DestroyPlanGraphBuilder struct + Components contextComponentFactory + Config *configs.Config + Schemas *Schemas + State *states.State + Targets []addrs.Targetable + Validate bool + func (b *DestroyPlanGraphBuilder) Build(path addrs.ModuleInstance) (*Graph, tfdiags.Diagnostics) + func (b *DestroyPlanGraphBuilder) Steps() []GraphTransformer + type DestroyValueReferenceTransformer struct + func (t *DestroyValueReferenceTransformer) Transform(g *Graph) error + type Diff struct + Modules []*ModuleDiff + func (d *Diff) AddModule(path addrs.ModuleInstance) *ModuleDiff + func (d *Diff) DeepCopy() *Diff + func (d *Diff) Empty() bool + func (d *Diff) Equal(d2 *Diff) bool + func (d *Diff) ModuleByPath(path addrs.ModuleInstance) *ModuleDiff + func (d *Diff) Prune() + func (d *Diff) RootModule() *ModuleDiff + func (d *Diff) String() string + type DiffAttrType byte + const DiffAttrInput + const DiffAttrOutput + const DiffAttrUnknown + type DiffChangeType byte + const DiffCreate + const DiffDestroy + const DiffDestroyCreate + const DiffInvalid + const DiffNone + const DiffRefresh + const DiffUpdate + type DiffTransformer struct + Changes *plans.Changes + Concrete ConcreteResourceInstanceNodeFunc + State *states.State + func (t *DiffTransformer) Transform(g *Graph) error + type EphemeralState struct + ConnInfo map[string]string + Type string + func (e *EphemeralState) DeepCopy() *EphemeralState + type EvalApply struct + Addr addrs.ResourceInstance + Change **plans.ResourceInstanceChange + Config *configs.Resource + CreateNew *bool + Dependencies []addrs.Referenceable + Error *error + Output **states.ResourceInstanceObject + Provider *providers.Interface + ProviderAddr addrs.AbsProviderConfig + ProviderSchema **ProviderSchema + State **states.ResourceInstanceObject + func (n *EvalApply) Eval(ctx EvalContext) (interface{}, error) + type EvalApplyPost struct + Addr addrs.ResourceInstance + Error *error + Gen states.Generation + State **states.ResourceInstanceObject + func (n *EvalApplyPost) Eval(ctx EvalContext) (interface{}, error) + type EvalApplyPre struct + Addr addrs.ResourceInstance + Change **plans.ResourceInstanceChange + Gen states.Generation + State **states.ResourceInstanceObject + func (n *EvalApplyPre) Eval(ctx EvalContext) (interface{}, error) + type EvalApplyProvisioners struct + Addr addrs.ResourceInstance + CreateNew *bool + Error *error + ResourceConfig *configs.Resource + State **states.ResourceInstanceObject + When configs.ProvisionerWhen + func (n *EvalApplyProvisioners) Eval(ctx EvalContext) (interface{}, error) + type EvalCheckModuleRemoved struct + Addr addrs.ModuleInstance + func (n *EvalCheckModuleRemoved) Eval(ctx EvalContext) (interface{}, error) + type EvalCheckPlannedChange struct + Actual **plans.ResourceInstanceChange + Addr addrs.ResourceInstance + Planned **plans.ResourceInstanceChange + ProviderAddr addrs.AbsProviderConfig + ProviderSchema **ProviderSchema + func (n *EvalCheckPlannedChange) Eval(ctx EvalContext) (interface{}, error) + type EvalCheckPreventDestroy struct + Addr addrs.ResourceInstance + Change **plans.ResourceInstanceChange + Config *configs.Resource + func (n *EvalCheckPreventDestroy) Eval(ctx EvalContext) (interface{}, error) + type EvalCloseProvider struct + Addr addrs.ProviderConfig + func (n *EvalCloseProvider) Eval(ctx EvalContext) (interface{}, error) + type EvalCloseProvisioner struct + Name string + func (n *EvalCloseProvisioner) Eval(ctx EvalContext) (interface{}, error) + type EvalConfigBlock struct + Config *hcl.Body + ContinueOnErr bool + ExpandedConfig *hcl.Body + Output *cty.Value + Schema *configschema.Block + SelfAddr addrs.Referenceable + func (n *EvalConfigBlock) Eval(ctx EvalContext) (interface{}, error) + type EvalConfigExpr struct + Expr hcl.Expression + Output *cty.Value + SelfAddr addrs.Referenceable + func (n *EvalConfigExpr) Eval(ctx EvalContext) (interface{}, error) + type EvalConfigProvider struct + Addr addrs.ProviderConfig + Config *configs.Provider + Provider *providers.Interface + func (n *EvalConfigProvider) Eval(ctx EvalContext) (interface{}, error) + type EvalContext interface + Changes func() *plans.ChangesSync + CloseProvider func(addrs.ProviderConfig) error + CloseProvisioner func(string) error + ConfigureProvider func(addrs.ProviderConfig, cty.Value) tfdiags.Diagnostics + EvaluateBlock func(body hcl.Body, schema *configschema.Block, self addrs.Referenceable, ...) (cty.Value, hcl.Body, tfdiags.Diagnostics) + EvaluateExpr func(expr hcl.Expression, wantType cty.Type, self addrs.Referenceable) (cty.Value, tfdiags.Diagnostics) + EvaluationScope func(self addrs.Referenceable, keyData InstanceKeyEvalData) *lang.Scope + Hook func(func(Hook) (HookAction, error)) error + InitProvider func(typ string, addr addrs.ProviderConfig) (providers.Interface, error) + InitProvisioner func(string) (provisioners.Interface, error) + Input func() UIInput + Path func() addrs.ModuleInstance + Provider func(addrs.AbsProviderConfig) providers.Interface + ProviderInput func(addrs.ProviderConfig) map[string]cty.Value + ProviderSchema func(addrs.AbsProviderConfig) *ProviderSchema + Provisioner func(string) provisioners.Interface + ProvisionerSchema func(string) *configschema.Block + SetModuleCallArguments func(addrs.ModuleCallInstance, map[string]cty.Value) + SetProviderInput func(addrs.ProviderConfig, map[string]cty.Value) + State func() *states.SyncState + Stopped func() <-chan struct{} + type EvalCountFixZeroOneBoundaryGlobal struct + Config *configs.Config + func (n *EvalCountFixZeroOneBoundaryGlobal) Eval(ctx EvalContext) (interface{}, error) + type EvalDeleteLocal struct + Addr addrs.LocalValue + func (n *EvalDeleteLocal) Eval(ctx EvalContext) (interface{}, error) + type EvalDeleteOutput struct + Addr addrs.OutputValue + func (n *EvalDeleteOutput) Eval(ctx EvalContext) (interface{}, error) + type EvalDeposeState struct + Addr addrs.ResourceInstance + ForceKey states.DeposedKey + OutputKey *states.DeposedKey + func (n *EvalDeposeState) Eval(ctx EvalContext) (interface{}, error) + type EvalDiff struct + Addr addrs.ResourceInstance + Config *configs.Resource + CreateBeforeDestroy bool + OutputChange **plans.ResourceInstanceChange + OutputState **states.ResourceInstanceObject + OutputValue *cty.Value + PreviousDiff **plans.ResourceInstanceChange + Provider *providers.Interface + ProviderAddr addrs.AbsProviderConfig + ProviderSchema **ProviderSchema + State **states.ResourceInstanceObject + Stub bool + func (n *EvalDiff) Eval(ctx EvalContext) (interface{}, error) + type EvalDiffDestroy struct + Addr addrs.ResourceInstance + DeposedKey states.DeposedKey + Output **plans.ResourceInstanceChange + OutputState **states.ResourceInstanceObject + ProviderAddr addrs.AbsProviderConfig + State **states.ResourceInstanceObject + func (n *EvalDiffDestroy) Eval(ctx EvalContext) (interface{}, error) + type EvalEarlyExitError struct + func (EvalEarlyExitError) Error() string + type EvalForgetResourceState struct + Addr addrs.Resource + func (n *EvalForgetResourceState) Eval(ctx EvalContext) (interface{}, error) + type EvalGetProvider struct + Addr addrs.AbsProviderConfig + Output *providers.Interface + Schema **ProviderSchema + func (n *EvalGetProvider) Eval(ctx EvalContext) (interface{}, error) + type EvalGetProvisioner struct + Name string + Output *provisioners.Interface + Schema **configschema.Block + func (n *EvalGetProvisioner) Eval(ctx EvalContext) (interface{}, error) + type EvalGraphBuilder struct + Components contextComponentFactory + Config *configs.Config + Schemas *Schemas + State *states.State + func (b *EvalGraphBuilder) Build(path addrs.ModuleInstance) (*Graph, tfdiags.Diagnostics) + func (b *EvalGraphBuilder) Steps() []GraphTransformer + type EvalIf struct + Else EvalNode + If func(EvalContext) (bool, error) + Then EvalNode + func (n *EvalIf) Eval(ctx EvalContext) (interface{}, error) + type EvalImportState struct + Addr addrs.ResourceInstance + ID string + Output *[]providers.ImportedResource + Provider *providers.Interface + func (n *EvalImportState) Eval(ctx EvalContext) (interface{}, error) + type EvalImportStateVerify struct + Addr addrs.ResourceInstance + State **states.ResourceInstanceObject + func (n *EvalImportStateVerify) Eval(ctx EvalContext) (interface{}, error) + type EvalInitProvider struct + Addr addrs.ProviderConfig + TypeName string + func (n *EvalInitProvider) Eval(ctx EvalContext) (interface{}, error) + type EvalInitProvisioner struct + Name string + func (n *EvalInitProvisioner) Eval(ctx EvalContext) (interface{}, error) + type EvalLocal struct + Addr addrs.LocalValue + Expr hcl.Expression + func (n *EvalLocal) Eval(ctx EvalContext) (interface{}, error) + type EvalMaybeRestoreDeposedObject struct + Addr addrs.ResourceInstance + Key *states.DeposedKey + func (n *EvalMaybeRestoreDeposedObject) Eval(ctx EvalContext) (interface{}, error) + type EvalMaybeTainted struct + Addr addrs.ResourceInstance + Change **plans.ResourceInstanceChange + Error *error + Gen states.Generation + State **states.ResourceInstanceObject + StateOutput **states.ResourceInstanceObject + func (n *EvalMaybeTainted) Eval(ctx EvalContext) (interface{}, error) + type EvalModuleCallArgument struct + Addr addrs.InputVariable + Config *configs.Variable + Expr hcl.Expression + IgnoreDiagnostics bool + Values map[string]cty.Value + func (n *EvalModuleCallArgument) Eval(ctx EvalContext) (interface{}, error) + type EvalNode interface + Eval func(EvalContext) (interface{}, error) + func CloseProviderEvalTree(addr addrs.AbsProviderConfig) EvalNode + func EvalFilter(node EvalNode, fn EvalNodeFilterFunc) EvalNode + func ProviderEvalTree(n *NodeApplyableProvider, config *configs.Provider) EvalNode + type EvalNodeFilterFunc func(EvalNode) EvalNode + func EvalNodeFilterOp(op walkOperation) EvalNodeFilterFunc + type EvalNodeFilterable interface + Filter func(EvalNodeFilterFunc) + type EvalNodeOpFilterable interface + IncludeInOp func(walkOperation) bool + type EvalNoop struct + func (EvalNoop) Eval(EvalContext) (interface{}, error) + type EvalOpFilter struct + Node EvalNode + Ops []walkOperation + func (n *EvalOpFilter) Eval(ctx EvalContext) (interface{}, error) + func (n *EvalOpFilter) IncludeInOp(op walkOperation) bool + type EvalReadData struct + Addr addrs.ResourceInstance + Config *configs.Resource + Dependencies []addrs.Referenceable + ForcePlanRead bool + OutputChange **plans.ResourceInstanceChange + OutputConfigValue *cty.Value + OutputState **states.ResourceInstanceObject + OutputValue *cty.Value + Planned **plans.ResourceInstanceChange + Provider *providers.Interface + ProviderAddr addrs.AbsProviderConfig + ProviderSchema **ProviderSchema + func (n *EvalReadData) Eval(ctx EvalContext) (interface{}, error) + type EvalReadDataApply struct + Addr addrs.ResourceInstance + Change **plans.ResourceInstanceChange + Config *configs.Resource + Output **states.ResourceInstanceObject + Provider *providers.Interface + ProviderAddr addrs.AbsProviderConfig + ProviderSchema **ProviderSchema + StateReferences []addrs.Referenceable + func (n *EvalReadDataApply) Eval(ctx EvalContext) (interface{}, error) + type EvalReadDiff struct + Addr addrs.ResourceInstance + Change **plans.ResourceInstanceChange + DeposedKey states.DeposedKey + ProviderSchema **ProviderSchema + func (n *EvalReadDiff) Eval(ctx EvalContext) (interface{}, error) + type EvalReadState struct + Addr addrs.ResourceInstance + Output **states.ResourceInstanceObject + Provider *providers.Interface + ProviderSchema **ProviderSchema + func (n *EvalReadState) Eval(ctx EvalContext) (interface{}, error) + type EvalReadStateDeposed struct + Addr addrs.ResourceInstance + Key states.DeposedKey + Output **states.ResourceInstanceObject + Provider *providers.Interface + ProviderSchema **ProviderSchema + func (n *EvalReadStateDeposed) Eval(ctx EvalContext) (interface{}, error) + type EvalReduceDiff struct + Addr addrs.ResourceInstance + Destroy bool + InChange **plans.ResourceInstanceChange + OutChange **plans.ResourceInstanceChange + func (n *EvalReduceDiff) Eval(ctx EvalContext) (interface{}, error) + type EvalRefresh struct + Addr addrs.ResourceInstance + Output **states.ResourceInstanceObject + Provider *providers.Interface + ProviderAddr addrs.AbsProviderConfig + ProviderSchema **ProviderSchema + State **states.ResourceInstanceObject + func (n *EvalRefresh) Eval(ctx EvalContext) (interface{}, error) + type EvalRequireState struct + State **states.ResourceInstanceObject + func (n *EvalRequireState) Eval(ctx EvalContext) (interface{}, error) + type EvalReturnError struct + Error *error + func (n *EvalReturnError) Eval(ctx EvalContext) (interface{}, error) + type EvalSequence struct + Nodes []EvalNode + func (n *EvalSequence) Eval(ctx EvalContext) (interface{}, error) + func (n *EvalSequence) Filter(fn EvalNodeFilterFunc) + type EvalSetModuleCallArguments struct + Module addrs.ModuleCallInstance + Values map[string]cty.Value + func (n *EvalSetModuleCallArguments) Eval(ctx EvalContext) (interface{}, error) + type EvalUpdateStateHook struct + func (n *EvalUpdateStateHook) Eval(ctx EvalContext) (interface{}, error) + type EvalValidateCount struct + Resource *configs.Resource + func (n *EvalValidateCount) Eval(ctx EvalContext) (interface{}, error) + type EvalValidateProvider struct + Addr addrs.ProviderConfig + Config *configs.Provider + Provider *providers.Interface + func (n *EvalValidateProvider) Eval(ctx EvalContext) (interface{}, error) + type EvalValidateProvisioner struct + Config *configs.Provisioner + Provisioner *provisioners.Interface + ResourceAddr addrs.Resource + ResourceHasCount bool + ResourceHasForEach bool + Schema **configschema.Block + func (n *EvalValidateProvisioner) Eval(ctx EvalContext) (interface{}, error) + type EvalValidateResource struct + Addr addrs.Resource + Config *configs.Resource + ConfigVal *cty.Value + IgnoreWarnings bool + Provider *providers.Interface + ProviderSchema **ProviderSchema + func (n *EvalValidateResource) Eval(ctx EvalContext) (interface{}, error) + type EvalValidateSelfRef struct + Addr addrs.Referenceable + Config hcl.Body + ProviderSchema **ProviderSchema + func (n *EvalValidateSelfRef) Eval(ctx EvalContext) (interface{}, error) + type EvalWriteDiff struct + Addr addrs.ResourceInstance + Change **plans.ResourceInstanceChange + DeposedKey states.DeposedKey + ProviderSchema **ProviderSchema + func (n *EvalWriteDiff) Eval(ctx EvalContext) (interface{}, error) + type EvalWriteOutput struct + Addr addrs.OutputValue + ContinueOnErr bool + Expr hcl.Expression + Sensitive bool + func (n *EvalWriteOutput) Eval(ctx EvalContext) (interface{}, error) + type EvalWriteResourceState struct + Addr addrs.Resource + Config *configs.Resource + ProviderAddr addrs.AbsProviderConfig + func (n *EvalWriteResourceState) Eval(ctx EvalContext) (interface{}, error) + type EvalWriteState struct + Addr addrs.ResourceInstance + ProviderAddr addrs.AbsProviderConfig + ProviderSchema **ProviderSchema + State **states.ResourceInstanceObject + func (n *EvalWriteState) Eval(ctx EvalContext) (interface{}, error) + type EvalWriteStateDeposed struct + Addr addrs.ResourceInstance + Key states.DeposedKey + ProviderAddr addrs.AbsProviderConfig + ProviderSchema **ProviderSchema + State **states.ResourceInstanceObject + func (n *EvalWriteStateDeposed) Eval(ctx EvalContext) (interface{}, error) + type Evaluator struct + Changes *plans.ChangesSync + Config *configs.Config + Meta *ContextMeta + Operation walkOperation + Schemas *Schemas + State *states.SyncState + VariableValues map[string]map[string]cty.Value + VariableValuesLock *sync.Mutex + func (e *Evaluator) Scope(data lang.Data, self addrs.Referenceable) *lang.Scope + type ExpandTransform struct + Builder GraphBuilder + func (t *ExpandTransform) Transform(v dag.Vertex) (dag.Vertex, error) + type ForcedCBDTransformer struct + func (t *ForcedCBDTransformer) Transform(g *Graph) error + type Graph struct + Path addrs.ModuleInstance + func (g *Graph) DirectedGraph() dag.Grapher + func (g *Graph) Walk(walker GraphWalker) tfdiags.Diagnostics + type GraphBuilder interface + Build func(addrs.ModuleInstance) (*Graph, tfdiags.Diagnostics) + func ValidateGraphBuilder(p *PlanGraphBuilder) GraphBuilder + type GraphNodeAttachDestroyer interface + AttachDestroyNode func(n GraphNodeDestroyerCBD) + type GraphNodeAttachProvider interface + AttachProvider func(*configs.Provider) + ProviderAddr func() addrs.AbsProviderConfig + type GraphNodeAttachProviderConfigSchema interface + AttachProviderConfigSchema func(*configschema.Block) + type GraphNodeAttachProvisionerSchema interface + AttachProvisionerSchema func(name string, schema *configschema.Block) + ProvisionedBy func() []string + type GraphNodeAttachResourceConfig interface + AttachResourceConfig func(*configs.Resource) + type GraphNodeAttachResourceSchema interface + AttachResourceSchema func(schema *configschema.Block, version uint64) + type GraphNodeAttachResourceState interface + AttachResourceState func(*states.Resource) + type GraphNodeCloseProvider interface + CloseProviderAddr func() addrs.AbsProviderConfig + type GraphNodeCloseProvisioner interface + CloseProvisionerName func() string + type GraphNodeCreator interface + CreateAddr func() *addrs.AbsResourceInstance + type GraphNodeDeposedResourceInstanceObject interface + DeposedInstanceObjectKey func() states.DeposedKey + type GraphNodeDeposer interface + SetPreallocatedDeposedKey func(key states.DeposedKey) + type GraphNodeDestroyer interface + DestroyAddr func() *addrs.AbsResourceInstance + type GraphNodeDestroyerCBD interface + CreateBeforeDestroy func() bool + ModifyCreateBeforeDestroy func(bool) error + type GraphNodeDynamicExpandable interface + DynamicExpand func(EvalContext) (*Graph, error) + type GraphNodeEvalable interface + EvalTree func() EvalNode + type GraphNodeExpandable interface + Expand func(GraphBuilder) (GraphNodeSubgraph, error) + type GraphNodeProvider interface + Name func() string + ProviderAddr func() addrs.AbsProviderConfig + type GraphNodeProviderConsumer interface + ProvidedBy func() (addr addrs.AbsProviderConfig, exact bool) + SetProvider func(addrs.AbsProviderConfig) + type GraphNodeProvisioner interface + ProvisionerName func() string + type GraphNodeProvisionerConsumer interface + ProvisionedBy func() []string + type GraphNodeReferenceOutside interface + ReferenceOutside func() (selfPath, referencePath addrs.ModuleInstance) + type GraphNodeReferenceable interface + ReferenceableAddrs func() []addrs.Referenceable + type GraphNodeReferencer interface + References func() []*addrs.Reference + type GraphNodeResource interface + ResourceAddr func() addrs.AbsResource + type GraphNodeResourceInstance interface + ResourceInstanceAddr func() addrs.AbsResourceInstance + type GraphNodeSubPath interface + Path func() addrs.ModuleInstance + type GraphNodeSubgraph interface + Subgraph func() dag.Grapher + type GraphNodeTargetDownstream interface + TargetDownstream func(targeted, untargeted *dag.Set) bool + type GraphNodeTargetable interface + SetTargets func([]addrs.Targetable) + type GraphTransformer interface + Transform func(*Graph) error + func GraphTransformIf(f func() bool, then GraphTransformer) GraphTransformer + func GraphTransformMulti(ts ...GraphTransformer) GraphTransformer + func TransformProviders(providers []string, concrete ConcreteProviderNodeFunc, config *configs.Config) GraphTransformer + type GraphType byte + const GraphTypeApply + const GraphTypeEval + const GraphTypeInvalid + const GraphTypeLegacy + const GraphTypePlan + const GraphTypePlanDestroy + const GraphTypeRefresh + const GraphTypeValidate + func (i GraphType) String() string + type GraphVertexTransformer interface + Transform func(dag.Vertex) (dag.Vertex, error) + type GraphWalker interface + EnterEvalTree func(dag.Vertex, EvalNode) EvalNode + EnterPath func(addrs.ModuleInstance) EvalContext + EnterVertex func(dag.Vertex) + ExitEvalTree func(dag.Vertex, interface{}, error) tfdiags.Diagnostics + ExitPath func(addrs.ModuleInstance) + ExitVertex func(dag.Vertex, tfdiags.Diagnostics) + type Hook interface + PostApply func(addr addrs.AbsResourceInstance, gen states.Generation, newState cty.Value, ...) (HookAction, error) + PostDiff func(addr addrs.AbsResourceInstance, gen states.Generation, action plans.Action, ...) (HookAction, error) + PostImportState func(addr addrs.AbsResourceInstance, imported []providers.ImportedResource) (HookAction, error) + PostProvisionInstance func(addr addrs.AbsResourceInstance, state cty.Value) (HookAction, error) + PostProvisionInstanceStep func(addr addrs.AbsResourceInstance, typeName string, err error) (HookAction, error) + PostRefresh func(addr addrs.AbsResourceInstance, gen states.Generation, priorState cty.Value, ...) (HookAction, error) + PostStateUpdate func(new *states.State) (HookAction, error) + PreApply func(addr addrs.AbsResourceInstance, gen states.Generation, action plans.Action, ...) (HookAction, error) + PreDiff func(addr addrs.AbsResourceInstance, gen states.Generation, ...) (HookAction, error) + PreImportState func(addr addrs.AbsResourceInstance, importID string) (HookAction, error) + PreProvisionInstance func(addr addrs.AbsResourceInstance, state cty.Value) (HookAction, error) + PreProvisionInstanceStep func(addr addrs.AbsResourceInstance, typeName string) (HookAction, error) + PreRefresh func(addr addrs.AbsResourceInstance, gen states.Generation, priorState cty.Value) (HookAction, error) + ProvisionOutput func(addr addrs.AbsResourceInstance, typeName string, line string) + type HookAction byte + const HookActionContinue + const HookActionHalt + type ImportGraphBuilder struct + Components contextComponentFactory + Config *configs.Config + ImportTargets []*ImportTarget + Schemas *Schemas + func (b *ImportGraphBuilder) Build(path addrs.ModuleInstance) (*Graph, tfdiags.Diagnostics) + func (b *ImportGraphBuilder) Steps() []GraphTransformer + type ImportOpts struct + Config *configs.Config + Targets []*ImportTarget + type ImportProviderValidateTransformer struct + func (t *ImportProviderValidateTransformer) Transform(g *Graph) error + type ImportStateTransformer struct + Targets []*ImportTarget + func (t *ImportStateTransformer) Transform(g *Graph) error + type ImportTarget struct + Addr addrs.AbsResourceInstance + ID string + ProviderAddr addrs.AbsProviderConfig + type InputMode byte + const InputModeProvider + const InputModeStd + const InputModeVar + const InputModeVarUnset + type InputOpts struct + Default string + Description string + Id string + Query string + type InputValue struct + SourceRange tfdiags.SourceRange + SourceType ValueSourceType + Value cty.Value + func (v *InputValue) GoString() string + type InputValues map[string]*InputValue + func DefaultVariableValues(configs map[string]*configs.Variable) InputValues + func InputValuesFromCaller(vals map[string]cty.Value) InputValues + func (vv InputValues) HasValues(vals map[string]cty.Value) bool + func (vv InputValues) Identical(other InputValues) bool + func (vv InputValues) JustValues() map[string]cty.Value + func (vv InputValues) Override(others ...InputValues) InputValues + func (vv InputValues) SameValues(other InputValues) bool + type InstanceDiff struct + Attributes map[string]*ResourceAttrDiff + Destroy bool + DestroyDeposed bool + DestroyTainted bool + Meta map[string]interface{} + func NewInstanceDiff() *InstanceDiff + func (d *InstanceDiff) Apply(attrs map[string]string, schema *configschema.Block) (map[string]string, error) + func (d *InstanceDiff) ApplyToValue(base cty.Value, schema *configschema.Block) (cty.Value, error) + func (d *InstanceDiff) ChangeType() DiffChangeType + func (d *InstanceDiff) Copy() (*InstanceDiff, error) + func (d *InstanceDiff) CopyAttributes() map[string]*ResourceAttrDiff + func (d *InstanceDiff) DeepCopy() *InstanceDiff + func (d *InstanceDiff) DelAttribute(key string) + func (d *InstanceDiff) Empty() bool + func (d *InstanceDiff) Equal(d2 *InstanceDiff) bool + func (d *InstanceDiff) GetAttribute(key string) (*ResourceAttrDiff, bool) + func (d *InstanceDiff) GetAttributesLen() int + func (d *InstanceDiff) GetDestroy() bool + func (d *InstanceDiff) GetDestroyDeposed() bool + func (d *InstanceDiff) GetDestroyTainted() bool + func (d *InstanceDiff) GoString() string + func (d *InstanceDiff) Lock() + func (d *InstanceDiff) RequiresNew() bool + func (d *InstanceDiff) Same(d2 *InstanceDiff) (bool, string) + func (d *InstanceDiff) SetAttribute(key string, attr *ResourceAttrDiff) + func (d *InstanceDiff) SetDestroy(b bool) + func (d *InstanceDiff) SetDestroyDeposed(b bool) + func (d *InstanceDiff) SetTainted(b bool) + func (d *InstanceDiff) Unlock() + type InstanceInfo struct + Id string + ModulePath []string + Type string + func NewInstanceInfo(addr addrs.AbsResourceInstance) *InstanceInfo + func (i *InstanceInfo) ResourceAddress() *ResourceAddress + type InstanceKeyEvalData struct + CountIndex cty.Value + EachKey cty.Value + EachValue cty.Value + func EvalDataForInstanceKey(key addrs.InstanceKey, forEachMap map[string]cty.Value) InstanceKeyEvalData + type InstanceState struct + Attributes map[string]string + Ephemeral EphemeralState + ID string + Meta map[string]interface{} + Tainted bool + func NewInstanceStateShimmedFromValue(state cty.Value, schemaVersion int) *InstanceState + func (s *InstanceState) AttrsAsObjectValue(ty cty.Type) (cty.Value, error) + func (s *InstanceState) DeepCopy() *InstanceState + func (s *InstanceState) Empty() bool + func (s *InstanceState) Equal(other *InstanceState) bool + func (s *InstanceState) Lock() + func (s *InstanceState) MergeDiff(d *InstanceDiff) *InstanceState + func (s *InstanceState) Set(from *InstanceState) + func (s *InstanceState) String() string + func (s *InstanceState) Unlock() + type InstanceType int + const TypeDeposed + const TypeInvalid + const TypePrimary + const TypeTainted + func ParseInstanceType(s string) (InstanceType, error) + func (i InstanceType) String() string + type LocalTransformer struct + Config *configs.Config + func (t *LocalTransformer) Transform(g *Graph) error + type MissingProviderTransformer struct + Concrete ConcreteProviderNodeFunc + Providers []string + func (t *MissingProviderTransformer) Transform(g *Graph) error + type MissingProvisionerTransformer struct + Provisioners []string + func (t *MissingProvisionerTransformer) Transform(g *Graph) error + type MockEvalContext struct + ChangesCalled bool + ChangesChanges *plans.ChangesSync + CloseProviderAddr addrs.ProviderConfig + CloseProviderCalled bool + CloseProviderProvider providers.Interface + CloseProvisionerCalled bool + CloseProvisionerName string + CloseProvisionerProvisioner provisioners.Interface + ConfigureProviderAddr addrs.ProviderConfig + ConfigureProviderCalled bool + ConfigureProviderConfig cty.Value + ConfigureProviderDiags tfdiags.Diagnostics + EvaluateBlockBody hcl.Body + EvaluateBlockCalled bool + EvaluateBlockDiags tfdiags.Diagnostics + EvaluateBlockExpandedBody hcl.Body + EvaluateBlockKeyData InstanceKeyEvalData + EvaluateBlockResult cty.Value + EvaluateBlockResultFunc func(body hcl.Body, schema *configschema.Block, self addrs.Referenceable, ...) (cty.Value, hcl.Body, tfdiags.Diagnostics) + EvaluateBlockSchema *configschema.Block + EvaluateBlockSelf addrs.Referenceable + EvaluateExprCalled bool + EvaluateExprDiags tfdiags.Diagnostics + EvaluateExprExpr hcl.Expression + EvaluateExprResult cty.Value + EvaluateExprResultFunc func(expr hcl.Expression, wantType cty.Type, self addrs.Referenceable) (cty.Value, tfdiags.Diagnostics) + EvaluateExprSelf addrs.Referenceable + EvaluateExprWantType cty.Type + EvaluationScopeCalled bool + EvaluationScopeKeyData InstanceKeyEvalData + EvaluationScopeScope *lang.Scope + EvaluationScopeSelf addrs.Referenceable + HookCalled bool + HookError error + HookHook Hook + InitProviderAddr addrs.ProviderConfig + InitProviderCalled bool + InitProviderError error + InitProviderProvider providers.Interface + InitProviderType string + InitProvisionerCalled bool + InitProvisionerError error + InitProvisionerName string + InitProvisionerProvisioner provisioners.Interface + InputCalled bool + InputInput UIInput + PathCalled bool + PathPath addrs.ModuleInstance + ProviderAddr addrs.AbsProviderConfig + ProviderCalled bool + ProviderInputAddr addrs.ProviderConfig + ProviderInputCalled bool + ProviderInputValues map[string]cty.Value + ProviderProvider providers.Interface + ProviderSchemaAddr addrs.AbsProviderConfig + ProviderSchemaCalled bool + ProviderSchemaSchema *ProviderSchema + ProvisionerCalled bool + ProvisionerName string + ProvisionerProvisioner provisioners.Interface + ProvisionerSchemaCalled bool + ProvisionerSchemaName string + ProvisionerSchemaSchema *configschema.Block + SetModuleCallArgumentsCalled bool + SetModuleCallArgumentsModule addrs.ModuleCallInstance + SetModuleCallArgumentsValues map[string]cty.Value + SetProviderInputAddr addrs.ProviderConfig + SetProviderInputCalled bool + SetProviderInputValues map[string]cty.Value + StateCalled bool + StateState *states.SyncState + StoppedCalled bool + StoppedValue <-chan struct{} + func (c *MockEvalContext) Changes() *plans.ChangesSync + func (c *MockEvalContext) CloseProvider(addr addrs.ProviderConfig) error + func (c *MockEvalContext) CloseProvisioner(n string) error + func (c *MockEvalContext) ConfigureProvider(addr addrs.ProviderConfig, cfg cty.Value) tfdiags.Diagnostics + func (c *MockEvalContext) EvaluateBlock(body hcl.Body, schema *configschema.Block, self addrs.Referenceable, ...) (cty.Value, hcl.Body, tfdiags.Diagnostics) + func (c *MockEvalContext) EvaluateExpr(expr hcl.Expression, wantType cty.Type, self addrs.Referenceable) (cty.Value, tfdiags.Diagnostics) + func (c *MockEvalContext) EvaluationScope(self addrs.Referenceable, keyData InstanceKeyEvalData) *lang.Scope + func (c *MockEvalContext) Hook(fn func(Hook) (HookAction, error)) error + func (c *MockEvalContext) InitProvider(t string, addr addrs.ProviderConfig) (providers.Interface, error) + func (c *MockEvalContext) InitProvisioner(n string) (provisioners.Interface, error) + func (c *MockEvalContext) Input() UIInput + func (c *MockEvalContext) Path() addrs.ModuleInstance + func (c *MockEvalContext) Provider(addr addrs.AbsProviderConfig) providers.Interface + func (c *MockEvalContext) ProviderInput(addr addrs.ProviderConfig) map[string]cty.Value + func (c *MockEvalContext) ProviderSchema(addr addrs.AbsProviderConfig) *ProviderSchema + func (c *MockEvalContext) Provisioner(n string) provisioners.Interface + func (c *MockEvalContext) ProvisionerSchema(n string) *configschema.Block + func (c *MockEvalContext) SetModuleCallArguments(n addrs.ModuleCallInstance, values map[string]cty.Value) + func (c *MockEvalContext) SetProviderInput(addr addrs.ProviderConfig, vals map[string]cty.Value) + func (c *MockEvalContext) State() *states.SyncState + func (c *MockEvalContext) Stopped() <-chan struct{} + type MockHook struct + PostApplyAddr addrs.AbsResourceInstance + PostApplyCalled bool + PostApplyError error + PostApplyFn func(addrs.AbsResourceInstance, states.Generation, cty.Value, error) (HookAction, error) + PostApplyGen states.Generation + PostApplyNewState cty.Value + PostApplyReturn HookAction + PostApplyReturnError error + PostDiffAction plans.Action + PostDiffAddr addrs.AbsResourceInstance + PostDiffCalled bool + PostDiffError error + PostDiffGen states.Generation + PostDiffPlannedState cty.Value + PostDiffPriorState cty.Value + PostDiffReturn HookAction + PostImportStateAddr addrs.AbsResourceInstance + PostImportStateCalled bool + PostImportStateError error + PostImportStateNewStates []providers.ImportedResource + PostImportStateReturn HookAction + PostProvisionInstanceAddr addrs.AbsResourceInstance + PostProvisionInstanceCalled bool + PostProvisionInstanceError error + PostProvisionInstanceReturn HookAction + PostProvisionInstanceState cty.Value + PostProvisionInstanceStepAddr addrs.AbsResourceInstance + PostProvisionInstanceStepCalled bool + PostProvisionInstanceStepError error + PostProvisionInstanceStepErrorArg error + PostProvisionInstanceStepProvisionerType string + PostProvisionInstanceStepReturn HookAction + PostRefreshAddr addrs.AbsResourceInstance + PostRefreshCalled bool + PostRefreshError error + PostRefreshGen states.Generation + PostRefreshNewState cty.Value + PostRefreshPriorState cty.Value + PostRefreshReturn HookAction + PostStateUpdateCalled bool + PostStateUpdateError error + PostStateUpdateReturn HookAction + PostStateUpdateState *states.State + PreApplyAction plans.Action + PreApplyAddr addrs.AbsResourceInstance + PreApplyCalled bool + PreApplyError error + PreApplyGen states.Generation + PreApplyPlannedState cty.Value + PreApplyPriorState cty.Value + PreApplyReturn HookAction + PreDiffAddr addrs.AbsResourceInstance + PreDiffCalled bool + PreDiffError error + PreDiffGen states.Generation + PreDiffPriorState cty.Value + PreDiffProposedState cty.Value + PreDiffReturn HookAction + PreImportStateAddr addrs.AbsResourceInstance + PreImportStateCalled bool + PreImportStateError error + PreImportStateID string + PreImportStateReturn HookAction + PreProvisionInstanceAddr addrs.AbsResourceInstance + PreProvisionInstanceCalled bool + PreProvisionInstanceError error + PreProvisionInstanceReturn HookAction + PreProvisionInstanceState cty.Value + PreProvisionInstanceStepAddr addrs.AbsResourceInstance + PreProvisionInstanceStepCalled bool + PreProvisionInstanceStepError error + PreProvisionInstanceStepProvisionerType string + PreProvisionInstanceStepReturn HookAction + PreRefreshAddr addrs.AbsResourceInstance + PreRefreshCalled bool + PreRefreshError error + PreRefreshGen states.Generation + PreRefreshPriorState cty.Value + PreRefreshReturn HookAction + ProvisionOutputAddr addrs.AbsResourceInstance + ProvisionOutputCalled bool + ProvisionOutputMessage string + ProvisionOutputProvisionerType string + func (h *MockHook) PostApply(addr addrs.AbsResourceInstance, gen states.Generation, newState cty.Value, ...) (HookAction, error) + func (h *MockHook) PostDiff(addr addrs.AbsResourceInstance, gen states.Generation, action plans.Action, ...) (HookAction, error) + func (h *MockHook) PostImportState(addr addrs.AbsResourceInstance, imported []providers.ImportedResource) (HookAction, error) + func (h *MockHook) PostProvisionInstance(addr addrs.AbsResourceInstance, state cty.Value) (HookAction, error) + func (h *MockHook) PostProvisionInstanceStep(addr addrs.AbsResourceInstance, typeName string, err error) (HookAction, error) + func (h *MockHook) PostRefresh(addr addrs.AbsResourceInstance, gen states.Generation, priorState cty.Value, ...) (HookAction, error) + func (h *MockHook) PostStateUpdate(new *states.State) (HookAction, error) + func (h *MockHook) PreApply(addr addrs.AbsResourceInstance, gen states.Generation, action plans.Action, ...) (HookAction, error) + func (h *MockHook) PreDiff(addr addrs.AbsResourceInstance, gen states.Generation, ...) (HookAction, error) + func (h *MockHook) PreImportState(addr addrs.AbsResourceInstance, importID string) (HookAction, error) + func (h *MockHook) PreProvisionInstance(addr addrs.AbsResourceInstance, state cty.Value) (HookAction, error) + func (h *MockHook) PreProvisionInstanceStep(addr addrs.AbsResourceInstance, typeName string) (HookAction, error) + func (h *MockHook) PreRefresh(addr addrs.AbsResourceInstance, gen states.Generation, priorState cty.Value) (HookAction, error) + func (h *MockHook) ProvisionOutput(addr addrs.AbsResourceInstance, typeName string, line string) + type MockProvider struct + ApplyFn func(info *InstanceInfo, s *InstanceState, d *InstanceDiff) (*InstanceState, error) + ApplyResourceChangeCalled bool + ApplyResourceChangeFn func(providers.ApplyResourceChangeRequest) providers.ApplyResourceChangeResponse + ApplyResourceChangeRequest providers.ApplyResourceChangeRequest + ApplyResourceChangeResponse providers.ApplyResourceChangeResponse + CloseCalled bool + CloseError error + ConfigureCalled bool + ConfigureFn func(c *ResourceConfig) error + ConfigureNewFn func(providers.ConfigureRequest) providers.ConfigureResponse + ConfigureRequest providers.ConfigureRequest + ConfigureResponse providers.ConfigureResponse + DiffFn func(info *InstanceInfo, s *InstanceState, c *ResourceConfig) (*InstanceDiff, error) + GetSchemaCalled bool + GetSchemaReturn *ProviderSchema + ImportResourceStateCalled bool + ImportResourceStateFn func(providers.ImportResourceStateRequest) providers.ImportResourceStateResponse + ImportResourceStateRequest providers.ImportResourceStateRequest + ImportResourceStateResponse providers.ImportResourceStateResponse + ImportStateReturn []*InstanceState + Meta interface{} + PlanResourceChangeCalled bool + PlanResourceChangeFn func(providers.PlanResourceChangeRequest) providers.PlanResourceChangeResponse + PlanResourceChangeRequest providers.PlanResourceChangeRequest + PlanResourceChangeResponse providers.PlanResourceChangeResponse + PrepareProviderConfigCalled bool + PrepareProviderConfigFn func(providers.PrepareProviderConfigRequest) providers.PrepareProviderConfigResponse + PrepareProviderConfigRequest providers.PrepareProviderConfigRequest + PrepareProviderConfigResponse providers.PrepareProviderConfigResponse + ReadDataSourceCalled bool + ReadDataSourceFn func(providers.ReadDataSourceRequest) providers.ReadDataSourceResponse + ReadDataSourceRequest providers.ReadDataSourceRequest + ReadDataSourceResponse providers.ReadDataSourceResponse + ReadResourceCalled bool + ReadResourceFn func(providers.ReadResourceRequest) providers.ReadResourceResponse + ReadResourceRequest providers.ReadResourceRequest + ReadResourceResponse providers.ReadResourceResponse + StopCalled bool + StopFn func() error + StopResponse error + UpgradeResourceStateCalled bool + UpgradeResourceStateFn func(providers.UpgradeResourceStateRequest) providers.UpgradeResourceStateResponse + UpgradeResourceStateRequest providers.UpgradeResourceStateRequest + UpgradeResourceStateResponse providers.UpgradeResourceStateResponse + UpgradeResourceStateTypeName string + ValidateDataSourceConfigCalled bool + ValidateDataSourceConfigFn func(providers.ValidateDataSourceConfigRequest) providers.ValidateDataSourceConfigResponse + ValidateDataSourceConfigRequest providers.ValidateDataSourceConfigRequest + ValidateDataSourceConfigResponse providers.ValidateDataSourceConfigResponse + ValidateDataSourceConfigTypeName string + ValidateFn func(c *ResourceConfig) (ws []string, es []error) + ValidateResourceTypeConfigCalled bool + ValidateResourceTypeConfigFn func(providers.ValidateResourceTypeConfigRequest) providers.ValidateResourceTypeConfigResponse + ValidateResourceTypeConfigRequest providers.ValidateResourceTypeConfigRequest + ValidateResourceTypeConfigResponse providers.ValidateResourceTypeConfigResponse + ValidateResourceTypeConfigTypeName string + func (p *MockProvider) ApplyResourceChange(r providers.ApplyResourceChangeRequest) providers.ApplyResourceChangeResponse + func (p *MockProvider) Close() error + func (p *MockProvider) Configure(r providers.ConfigureRequest) providers.ConfigureResponse + func (p *MockProvider) GetSchema() providers.GetSchemaResponse + func (p *MockProvider) ImportResourceState(r providers.ImportResourceStateRequest) providers.ImportResourceStateResponse + func (p *MockProvider) PlanResourceChange(r providers.PlanResourceChangeRequest) providers.PlanResourceChangeResponse + func (p *MockProvider) PrepareProviderConfig(r providers.PrepareProviderConfigRequest) providers.PrepareProviderConfigResponse + func (p *MockProvider) ReadDataSource(r providers.ReadDataSourceRequest) providers.ReadDataSourceResponse + func (p *MockProvider) ReadResource(r providers.ReadResourceRequest) providers.ReadResourceResponse + func (p *MockProvider) Stop() error + func (p *MockProvider) UpgradeResourceState(r providers.UpgradeResourceStateRequest) providers.UpgradeResourceStateResponse + func (p *MockProvider) ValidateDataSourceConfig(r providers.ValidateDataSourceConfigRequest) providers.ValidateDataSourceConfigResponse + func (p *MockProvider) ValidateResourceTypeConfig(r providers.ValidateResourceTypeConfigRequest) providers.ValidateResourceTypeConfigResponse + type MockProvisioner struct + ApplyFn func(rs *InstanceState, c *ResourceConfig) error + CloseCalled bool + CloseFn func() error + CloseResponse error + GetSchemaCalled bool + GetSchemaResponse provisioners.GetSchemaResponse + Meta interface{} + ProvisionResourceCalled bool + ProvisionResourceFn func(provisioners.ProvisionResourceRequest) provisioners.ProvisionResourceResponse + ProvisionResourceRequest provisioners.ProvisionResourceRequest + ProvisionResourceResponse provisioners.ProvisionResourceResponse + StopCalled bool + StopFn func() error + StopResponse error + ValidateProvisionerConfigCalled bool + ValidateProvisionerConfigFn func(provisioners.ValidateProvisionerConfigRequest) provisioners.ValidateProvisionerConfigResponse + ValidateProvisionerConfigRequest provisioners.ValidateProvisionerConfigRequest + ValidateProvisionerConfigResponse provisioners.ValidateProvisionerConfigResponse + func (p *MockProvisioner) Close() error + func (p *MockProvisioner) GetSchema() provisioners.GetSchemaResponse + func (p *MockProvisioner) ProvisionResource(r provisioners.ProvisionResourceRequest) provisioners.ProvisionResourceResponse + func (p *MockProvisioner) Stop() error + func (p *MockProvisioner) ValidateProvisionerConfig(r provisioners.ValidateProvisionerConfigRequest) provisioners.ValidateProvisionerConfigResponse + type MockResourceProvider struct + ApplyCalled bool + ApplyDiff *InstanceDiff + ApplyFn func(*InstanceInfo, *InstanceState, *InstanceDiff) (*InstanceState, error) + ApplyInfo *InstanceInfo + ApplyReturn *InstanceState + ApplyReturnError error + ApplyState *InstanceState + CloseCalled bool + CloseError error + ConfigureCalled bool + ConfigureConfig *ResourceConfig + ConfigureFn func(*ResourceConfig) error + ConfigureReturnError error + DataSourcesCalled bool + DataSourcesReturn []DataSource + DiffCalled bool + DiffDesired *ResourceConfig + DiffFn func(*InstanceInfo, *InstanceState, *ResourceConfig) (*InstanceDiff, error) + DiffInfo *InstanceInfo + DiffReturn *InstanceDiff + DiffReturnError error + DiffState *InstanceState + GetSchemaCalled bool + GetSchemaRequest *ProviderSchemaRequest + GetSchemaReturn *ProviderSchema + GetSchemaReturnError error + ImportStateCalled bool + ImportStateFn func(*InstanceInfo, string) ([]*InstanceState, error) + ImportStateID string + ImportStateInfo *InstanceInfo + ImportStateReturn []*InstanceState + ImportStateReturnError error + InputCalled bool + InputConfig *ResourceConfig + InputFn func(UIInput, *ResourceConfig) (*ResourceConfig, error) + InputInput UIInput + InputReturnConfig *ResourceConfig + InputReturnError error + Meta interface{} + ReadDataApplyCalled bool + ReadDataApplyDiff *InstanceDiff + ReadDataApplyFn func(*InstanceInfo, *InstanceDiff) (*InstanceState, error) + ReadDataApplyInfo *InstanceInfo + ReadDataApplyReturn *InstanceState + ReadDataApplyReturnError error + ReadDataDiffCalled bool + ReadDataDiffDesired *ResourceConfig + ReadDataDiffFn func(*InstanceInfo, *ResourceConfig) (*InstanceDiff, error) + ReadDataDiffInfo *InstanceInfo + ReadDataDiffReturn *InstanceDiff + ReadDataDiffReturnError error + RefreshCalled bool + RefreshFn func(*InstanceInfo, *InstanceState) (*InstanceState, error) + RefreshInfo *InstanceInfo + RefreshReturn *InstanceState + RefreshReturnError error + RefreshState *InstanceState + ResourcesCalled bool + ResourcesReturn []ResourceType + StopCalled bool + StopFn func() error + StopReturnError error + ValidateCalled bool + ValidateConfig *ResourceConfig + ValidateDataSourceCalled bool + ValidateDataSourceConfig *ResourceConfig + ValidateDataSourceFn func(string, *ResourceConfig) ([]string, []error) + ValidateDataSourceReturnErrors []error + ValidateDataSourceReturnWarns []string + ValidateDataSourceType string + ValidateFn func(*ResourceConfig) ([]string, []error) + ValidateResourceCalled bool + ValidateResourceConfig *ResourceConfig + ValidateResourceFn func(string, *ResourceConfig) ([]string, []error) + ValidateResourceReturnErrors []error + ValidateResourceReturnWarns []string + ValidateResourceType string + ValidateReturnErrors []error + ValidateReturnWarns []string + func (p *MockResourceProvider) Apply(info *InstanceInfo, state *InstanceState, diff *InstanceDiff) (*InstanceState, error) + func (p *MockResourceProvider) Close() error + func (p *MockResourceProvider) Configure(c *ResourceConfig) error + func (p *MockResourceProvider) DataSources() []DataSource + func (p *MockResourceProvider) Diff(info *InstanceInfo, state *InstanceState, desired *ResourceConfig) (*InstanceDiff, error) + func (p *MockResourceProvider) GetSchema(req *ProviderSchemaRequest) (*ProviderSchema, error) + func (p *MockResourceProvider) ImportState(info *InstanceInfo, id string) ([]*InstanceState, error) + func (p *MockResourceProvider) Input(input UIInput, c *ResourceConfig) (*ResourceConfig, error) + func (p *MockResourceProvider) ReadDataApply(info *InstanceInfo, d *InstanceDiff) (*InstanceState, error) + func (p *MockResourceProvider) ReadDataDiff(info *InstanceInfo, desired *ResourceConfig) (*InstanceDiff, error) + func (p *MockResourceProvider) Refresh(info *InstanceInfo, s *InstanceState) (*InstanceState, error) + func (p *MockResourceProvider) Resources() []ResourceType + func (p *MockResourceProvider) Stop() error + func (p *MockResourceProvider) Validate(c *ResourceConfig) ([]string, []error) + func (p *MockResourceProvider) ValidateDataSource(t string, c *ResourceConfig) ([]string, []error) + func (p *MockResourceProvider) ValidateResource(t string, c *ResourceConfig) ([]string, []error) + type MockResourceProvisioner struct + ApplyCalled bool + ApplyConfig *ResourceConfig + ApplyFn func(*InstanceState, *ResourceConfig) error + ApplyOutput UIOutput + ApplyReturnError error + ApplyState *InstanceState + GetConfigSchemaCalled bool + GetConfigSchemaReturnError error + GetConfigSchemaReturnSchema *configschema.Block + Meta interface{} + StopCalled bool + StopFn func() error + StopReturnError error + ValidateCalled bool + ValidateConfig *ResourceConfig + ValidateFn func(c *ResourceConfig) ([]string, []error) + ValidateReturnErrors []error + ValidateReturnWarns []string + func (p *MockResourceProvisioner) Apply(output UIOutput, state *InstanceState, c *ResourceConfig) error + func (p *MockResourceProvisioner) GetConfigSchema() (*configschema.Block, error) + func (p *MockResourceProvisioner) Stop() error + func (p *MockResourceProvisioner) Validate(c *ResourceConfig) ([]string, []error) + type MockUIInput struct + InputCalled bool + InputFn func(*InputOpts) (string, error) + InputOpts *InputOpts + InputReturnError error + InputReturnMap map[string]string + InputReturnString string + func (i *MockUIInput) Input(ctx context.Context, opts *InputOpts) (string, error) + type MockUIOutput struct + OutputCalled bool + OutputFn func(string) + OutputMessage string + func (o *MockUIOutput) Output(v string) + type ModuleDiff struct + Destroy bool + Path []string + Resources map[string]*InstanceDiff + func (d *ModuleDiff) ChangeType() DiffChangeType + func (d *ModuleDiff) Empty() bool + func (d *ModuleDiff) Instances(id string) []*InstanceDiff + func (d *ModuleDiff) IsRoot() bool + func (d *ModuleDiff) String() string + type ModuleState struct + Dependencies []string + Locals map[string]interface{} + Outputs map[string]*OutputState + Path []string + Resources map[string]*ResourceState + func (m *ModuleState) Empty() bool + func (m *ModuleState) Equal(other *ModuleState) bool + func (m *ModuleState) IsDescendent(other *ModuleState) bool + func (m *ModuleState) IsRoot() bool + func (m *ModuleState) Orphans(c *configs.Module) []addrs.ResourceInstance + func (m *ModuleState) String() string + func (m *ModuleState) View(id string) *ModuleState + func (s *ModuleState) Lock() + func (s *ModuleState) RemovedOutputs(outputs map[string]*configs.Output) []addrs.OutputValue + func (s *ModuleState) Unlock() + type ModuleVariableTransformer struct + Config *configs.Config + func (t *ModuleVariableTransformer) Transform(g *Graph) error + type NilHook struct + func (*NilHook) PostApply(addr addrs.AbsResourceInstance, gen states.Generation, newState cty.Value, ...) (HookAction, error) + func (*NilHook) PostDiff(addr addrs.AbsResourceInstance, gen states.Generation, action plans.Action, ...) (HookAction, error) + func (*NilHook) PostImportState(addr addrs.AbsResourceInstance, imported []providers.ImportedResource) (HookAction, error) + func (*NilHook) PostProvisionInstance(addr addrs.AbsResourceInstance, state cty.Value) (HookAction, error) + func (*NilHook) PostProvisionInstanceStep(addr addrs.AbsResourceInstance, typeName string, err error) (HookAction, error) + func (*NilHook) PostRefresh(addr addrs.AbsResourceInstance, gen states.Generation, priorState cty.Value, ...) (HookAction, error) + func (*NilHook) PostStateUpdate(new *states.State) (HookAction, error) + func (*NilHook) PreApply(addr addrs.AbsResourceInstance, gen states.Generation, action plans.Action, ...) (HookAction, error) + func (*NilHook) PreDiff(addr addrs.AbsResourceInstance, gen states.Generation, ...) (HookAction, error) + func (*NilHook) PreImportState(addr addrs.AbsResourceInstance, importID string) (HookAction, error) + func (*NilHook) PreProvisionInstance(addr addrs.AbsResourceInstance, state cty.Value) (HookAction, error) + func (*NilHook) PreProvisionInstanceStep(addr addrs.AbsResourceInstance, typeName string) (HookAction, error) + func (*NilHook) PreRefresh(addr addrs.AbsResourceInstance, gen states.Generation, priorState cty.Value) (HookAction, error) + func (*NilHook) ProvisionOutput(addr addrs.AbsResourceInstance, typeName string, line string) + type NodeAbstractProvider struct + Addr addrs.AbsProviderConfig + Config *configs.Provider + Schema *configschema.Block + func (n *NodeAbstractProvider) AttachProvider(c *configs.Provider) + func (n *NodeAbstractProvider) AttachProviderConfigSchema(schema *configschema.Block) + func (n *NodeAbstractProvider) DotNode(name string, opts *dag.DotOpts) *dag.DotNode + func (n *NodeAbstractProvider) Name() string + func (n *NodeAbstractProvider) Path() addrs.ModuleInstance + func (n *NodeAbstractProvider) ProviderAddr() addrs.AbsProviderConfig + func (n *NodeAbstractProvider) ProviderConfig() *configs.Provider + func (n *NodeAbstractProvider) References() []*addrs.Reference + func (n *NodeAbstractProvider) RemoveIfNotTargeted() bool + type NodeAbstractResource struct + Addr addrs.AbsResource + Config *configs.Resource + ProvisionerSchemas map[string]*configschema.Block + ResolvedProvider addrs.AbsProviderConfig + Schema *configschema.Block + SchemaVersion uint64 + Targets []addrs.Targetable + func NewNodeAbstractResource(addr addrs.AbsResource) *NodeAbstractResource + func (n *NodeAbstractResource) AttachProvisionerSchema(name string, schema *configschema.Block) + func (n *NodeAbstractResource) AttachResourceConfig(c *configs.Resource) + func (n *NodeAbstractResource) AttachResourceSchema(schema *configschema.Block, version uint64) + func (n *NodeAbstractResource) DotNode(name string, opts *dag.DotOpts) *dag.DotNode + func (n *NodeAbstractResource) Name() string + func (n *NodeAbstractResource) Path() addrs.ModuleInstance + func (n *NodeAbstractResource) ProvidedBy() (addrs.AbsProviderConfig, bool) + func (n *NodeAbstractResource) ProvisionedBy() []string + func (n *NodeAbstractResource) ReferenceableAddrs() []addrs.Referenceable + func (n *NodeAbstractResource) References() []*addrs.Reference + func (n *NodeAbstractResource) ResourceAddr() addrs.AbsResource + func (n *NodeAbstractResource) ResourceAddress() *ResourceAddress + func (n *NodeAbstractResource) SetProvider(p addrs.AbsProviderConfig) + func (n *NodeAbstractResource) SetTargets(targets []addrs.Targetable) + type NodeAbstractResourceInstance struct + InstanceKey addrs.InstanceKey + ResourceState *states.Resource + func NewNodeAbstractResourceInstance(addr addrs.AbsResourceInstance) *NodeAbstractResourceInstance + func (n *NodeAbstractResourceInstance) AttachResourceState(s *states.Resource) + func (n *NodeAbstractResourceInstance) Name() string + func (n *NodeAbstractResourceInstance) ProvidedBy() (addrs.AbsProviderConfig, bool) + func (n *NodeAbstractResourceInstance) ReferenceableAddrs() []addrs.Referenceable + func (n *NodeAbstractResourceInstance) References() []*addrs.Reference + func (n *NodeAbstractResourceInstance) ResourceInstanceAddr() addrs.AbsResourceInstance + func (n *NodeAbstractResourceInstance) StateReferences() []addrs.Referenceable + type NodeApplyableModuleVariable struct + Addr addrs.AbsInputVariableInstance + Config *configs.Variable + Expr hcl.Expression + func (n *NodeApplyableModuleVariable) DotNode(name string, opts *dag.DotOpts) *dag.DotNode + func (n *NodeApplyableModuleVariable) EvalTree() EvalNode + func (n *NodeApplyableModuleVariable) Name() string + func (n *NodeApplyableModuleVariable) Path() addrs.ModuleInstance + func (n *NodeApplyableModuleVariable) ReferenceOutside() (selfPath, referencePath addrs.ModuleInstance) + func (n *NodeApplyableModuleVariable) ReferenceableAddrs() []addrs.Referenceable + func (n *NodeApplyableModuleVariable) References() []*addrs.Reference + func (n *NodeApplyableModuleVariable) RemoveIfNotTargeted() bool + type NodeApplyableOutput struct + Addr addrs.AbsOutputValue + Config *configs.Output + func (n *NodeApplyableOutput) DotNode(name string, opts *dag.DotOpts) *dag.DotNode + func (n *NodeApplyableOutput) EvalTree() EvalNode + func (n *NodeApplyableOutput) Name() string + func (n *NodeApplyableOutput) Path() addrs.ModuleInstance + func (n *NodeApplyableOutput) ReferenceOutside() (selfPath, referencePath addrs.ModuleInstance) + func (n *NodeApplyableOutput) ReferenceableAddrs() []addrs.Referenceable + func (n *NodeApplyableOutput) References() []*addrs.Reference + func (n *NodeApplyableOutput) RemoveIfNotTargeted() bool + func (n *NodeApplyableOutput) TargetDownstream(targetedDeps, untargetedDeps *dag.Set) bool + type NodeApplyableProvider struct + func (n *NodeApplyableProvider) EvalTree() EvalNode + type NodeApplyableResource struct + func (n *NodeApplyableResource) EvalTree() EvalNode + func (n *NodeApplyableResource) Name() string + func (n *NodeApplyableResource) References() []*addrs.Reference + type NodeApplyableResourceInstance struct + func (n *NodeApplyableResourceInstance) AttachDestroyNode(d GraphNodeDestroyerCBD) + func (n *NodeApplyableResourceInstance) CreateAddr() *addrs.AbsResourceInstance + func (n *NodeApplyableResourceInstance) EvalTree() EvalNode + func (n *NodeApplyableResourceInstance) References() []*addrs.Reference + func (n *NodeApplyableResourceInstance) SetPreallocatedDeposedKey(key states.DeposedKey) + type NodeCountBoundary struct + Config *configs.Config + func (n *NodeCountBoundary) EvalTree() EvalNode + func (n *NodeCountBoundary) Name() string + type NodeDestroyDeposedResourceInstanceObject struct + DeposedKey states.DeposedKey + func (n *NodeDestroyDeposedResourceInstanceObject) CreateBeforeDestroy() bool + func (n *NodeDestroyDeposedResourceInstanceObject) DeposedInstanceObjectKey() states.DeposedKey + func (n *NodeDestroyDeposedResourceInstanceObject) DestroyAddr() *addrs.AbsResourceInstance + func (n *NodeDestroyDeposedResourceInstanceObject) EvalTree() EvalNode + func (n *NodeDestroyDeposedResourceInstanceObject) ModifyCreateBeforeDestroy(v bool) error + func (n *NodeDestroyDeposedResourceInstanceObject) Name() string + func (n *NodeDestroyDeposedResourceInstanceObject) ReferenceableAddrs() []addrs.Referenceable + func (n *NodeDestroyDeposedResourceInstanceObject) References() []*addrs.Reference + type NodeDestroyResource struct + func (n *NodeDestroyResource) EvalTree() EvalNode + func (n *NodeDestroyResource) Name() string + func (n *NodeDestroyResource) ReferenceableAddrs() []addrs.Referenceable + func (n *NodeDestroyResource) References() []*addrs.Reference + type NodeDestroyResourceInstance struct + CreateBeforeDestroyOverride *bool + DeposedKey states.DeposedKey + func (n *NodeDestroyResourceInstance) CreateBeforeDestroy() bool + func (n *NodeDestroyResourceInstance) DestroyAddr() *addrs.AbsResourceInstance + func (n *NodeDestroyResourceInstance) EvalTree() EvalNode + func (n *NodeDestroyResourceInstance) ModifyCreateBeforeDestroy(v bool) error + func (n *NodeDestroyResourceInstance) Name() string + func (n *NodeDestroyResourceInstance) ReferenceableAddrs() []addrs.Referenceable + func (n *NodeDestroyResourceInstance) References() []*addrs.Reference + type NodeDestroyableDataResourceInstance struct + func (n *NodeDestroyableDataResourceInstance) EvalTree() EvalNode + type NodeDestroyableOutput struct + Addr addrs.AbsOutputValue + Config *configs.Output + func (n *NodeDestroyableOutput) DotNode(name string, opts *dag.DotOpts) *dag.DotNode + func (n *NodeDestroyableOutput) EvalTree() EvalNode + func (n *NodeDestroyableOutput) Name() string + func (n *NodeDestroyableOutput) Path() addrs.ModuleInstance + func (n *NodeDestroyableOutput) References() []*addrs.Reference + func (n *NodeDestroyableOutput) RemoveIfNotTargeted() bool + func (n *NodeDestroyableOutput) TargetDownstream(targetedDeps, untargetedDeps *dag.Set) bool + type NodeDisabledProvider struct + func (n *NodeDisabledProvider) Name() string + type NodeEvalableProvider struct + func (n *NodeEvalableProvider) EvalTree() EvalNode + type NodeLocal struct + Addr addrs.AbsLocalValue + Config *configs.Local + func (n *NodeLocal) DotNode(name string, opts *dag.DotOpts) *dag.DotNode + func (n *NodeLocal) EvalTree() EvalNode + func (n *NodeLocal) Name() string + func (n *NodeLocal) Path() addrs.ModuleInstance + func (n *NodeLocal) ReferenceableAddrs() []addrs.Referenceable + func (n *NodeLocal) References() []*addrs.Reference + func (n *NodeLocal) RemoveIfNotTargeted() bool + type NodeModuleRemoved struct + Addr addrs.ModuleInstance + func (n *NodeModuleRemoved) EvalTree() EvalNode + func (n *NodeModuleRemoved) Name() string + func (n *NodeModuleRemoved) Path() addrs.ModuleInstance + func (n *NodeModuleRemoved) ReferenceOutside() (selfPath, referencePath addrs.ModuleInstance) + func (n *NodeModuleRemoved) References() []*addrs.Reference + func (n *NodeModuleRemoved) RemoveIfNotTargeted() bool + type NodeOutputOrphan struct + Addr addrs.AbsOutputValue + func (n *NodeOutputOrphan) EvalTree() EvalNode + func (n *NodeOutputOrphan) Name() string + func (n *NodeOutputOrphan) Path() addrs.ModuleInstance + func (n *NodeOutputOrphan) ReferenceOutside() (selfPath, referencePath addrs.ModuleInstance) + func (n *NodeOutputOrphan) ReferenceableAddrs() []addrs.Referenceable + type NodePlanDeposedResourceInstanceObject struct + DeposedKey states.DeposedKey + func (n *NodePlanDeposedResourceInstanceObject) DeposedInstanceObjectKey() states.DeposedKey + func (n *NodePlanDeposedResourceInstanceObject) EvalTree() EvalNode + func (n *NodePlanDeposedResourceInstanceObject) Name() string + func (n *NodePlanDeposedResourceInstanceObject) ReferenceableAddrs() []addrs.Referenceable + func (n *NodePlanDeposedResourceInstanceObject) References() []*addrs.Reference + type NodePlanDestroyableResourceInstance struct + func (n *NodePlanDestroyableResourceInstance) DestroyAddr() *addrs.AbsResourceInstance + func (n *NodePlanDestroyableResourceInstance) EvalTree() EvalNode + type NodePlannableResource struct + ForceCreateBeforeDestroy *bool + func (n *NodePlannableResource) CreateBeforeDestroy() bool + func (n *NodePlannableResource) DynamicExpand(ctx EvalContext) (*Graph, error) + func (n *NodePlannableResource) EvalTree() EvalNode + func (n *NodePlannableResource) ModifyCreateBeforeDestroy(v bool) error + type NodePlannableResourceInstance struct + ForceCreateBeforeDestroy bool + func (n *NodePlannableResourceInstance) EvalTree() EvalNode + type NodePlannableResourceInstanceOrphan struct + func (n *NodePlannableResourceInstanceOrphan) EvalTree() EvalNode + func (n *NodePlannableResourceInstanceOrphan) Name() string + type NodeProvisioner struct + NameValue string + PathValue addrs.ModuleInstance + func (n *NodeProvisioner) EvalTree() EvalNode + func (n *NodeProvisioner) Name() string + func (n *NodeProvisioner) Path() addrs.ModuleInstance + func (n *NodeProvisioner) ProvisionerName() string + type NodeRefreshableDataResource struct + func (n *NodeRefreshableDataResource) DynamicExpand(ctx EvalContext) (*Graph, error) + type NodeRefreshableDataResourceInstance struct + func (n *NodeRefreshableDataResourceInstance) EvalTree() EvalNode + type NodeRefreshableManagedResource struct + func (n *NodeRefreshableManagedResource) DynamicExpand(ctx EvalContext) (*Graph, error) + type NodeRefreshableManagedResourceInstance struct + func (n *NodeRefreshableManagedResourceInstance) DestroyAddr() *addrs.AbsResourceInstance + func (n *NodeRefreshableManagedResourceInstance) EvalTree() EvalNode + type NodeRootVariable struct + Addr addrs.InputVariable + Config *configs.Variable + func (n *NodeRootVariable) DotNode(name string, opts *dag.DotOpts) *dag.DotNode + func (n *NodeRootVariable) Name() string + func (n *NodeRootVariable) Path() addrs.ModuleInstance + func (n *NodeRootVariable) ReferenceableAddrs() []addrs.Referenceable + type NodeValidatableResource struct + func (n *NodeValidatableResource) EvalTree() EvalNode + type NullGraphWalker struct + func (NullGraphWalker) EnterEvalTree(v dag.Vertex, n EvalNode) EvalNode + func (NullGraphWalker) EnterPath(addrs.ModuleInstance) EvalContext + func (NullGraphWalker) EnterVertex(dag.Vertex) + func (NullGraphWalker) ExitEvalTree(dag.Vertex, interface{}, error) tfdiags.Diagnostics + func (NullGraphWalker) ExitPath(addrs.ModuleInstance) + func (NullGraphWalker) ExitVertex(dag.Vertex, tfdiags.Diagnostics) + type OrphanOutputTransformer struct + Config *configs.Config + State *states.State + func (t *OrphanOutputTransformer) Transform(g *Graph) error + type OrphanResourceCountTransformer struct + Addr addrs.AbsResource + Concrete ConcreteResourceInstanceNodeFunc + Count int + ForEach map[string]cty.Value + State *states.State + func (t *OrphanResourceCountTransformer) Transform(g *Graph) error + type OrphanResourceInstanceTransformer struct + Concrete ConcreteResourceInstanceNodeFunc + Config *configs.Config + State *states.State + func (t *OrphanResourceInstanceTransformer) Transform(g *Graph) error + type OrphanResourceTransformer struct + Concrete ConcreteResourceNodeFunc + Config *configs.Config + State *states.State + func (t *OrphanResourceTransformer) Transform(g *Graph) error + type OutputState struct + Sensitive bool + Type string + Value interface{} + func (s *OutputState) Equal(other *OutputState) bool + func (s *OutputState) Lock() + func (s *OutputState) String() string + func (s *OutputState) Unlock() + type OutputTransformer struct + Config *configs.Config + func (t *OutputTransformer) Transform(g *Graph) error + type ParentProviderTransformer struct + func (t *ParentProviderTransformer) Transform(g *Graph) error + type Plan struct + Backend *BackendState + Config *configs.Config + Destroy bool + Diff *Diff + ProviderSHA256s map[string][]byte + State *State + Targets []string + TerraformVersion string + Vars map[string]cty.Value + func ReadPlan(src io.Reader) (*Plan, error) + func (p *Plan) String() string + type PlanGraphBuilder struct + Components contextComponentFactory + ConcreteProvider ConcreteProviderNodeFunc + ConcreteResource ConcreteResourceNodeFunc + ConcreteResourceOrphan ConcreteResourceInstanceNodeFunc + Config *configs.Config + CustomConcrete bool + DisableReduce bool + Schemas *Schemas + State *states.State + Targets []addrs.Targetable + Validate bool + func (b *PlanGraphBuilder) Build(path addrs.ModuleInstance) (*Graph, tfdiags.Diagnostics) + func (b *PlanGraphBuilder) Steps() []GraphTransformer + type PrefixUIInput struct + IdPrefix string + QueryPrefix string + UIInput UIInput + func (i *PrefixUIInput) Input(ctx context.Context, opts *InputOpts) (string, error) + type ProviderConfigTransformer struct + Concrete ConcreteProviderNodeFunc + Config *configs.Config + Providers []string + func (t *ProviderConfigTransformer) Transform(g *Graph) error + type ProviderSchema struct + DataSources map[string]*configschema.Block + Provider *configschema.Block + ResourceTypeSchemaVersions map[string]uint64 + ResourceTypes map[string]*configschema.Block + func (ps *ProviderSchema) SchemaForResourceAddr(addr addrs.Resource) (schema *configschema.Block, version uint64) + func (ps *ProviderSchema) SchemaForResourceType(mode addrs.ResourceMode, typeName string) (schema *configschema.Block, version uint64) + type ProviderSchemaRequest struct + DataSources []string + ResourceTypes []string + type ProviderTransformer struct + Config *configs.Config + func (t *ProviderTransformer) Transform(g *Graph) error + type ProvisionerFactory = provisioners.Factory + type ProvisionerTransformer struct + func (t *ProvisionerTransformer) Transform(g *Graph) error + type ProvisionerUIOutput struct + Hooks []Hook + InstanceAddr addrs.AbsResourceInstance + ProvisionerType string + func (o *ProvisionerUIOutput) Output(msg string) + type PruneProviderTransformer struct + func (t *PruneProviderTransformer) Transform(g *Graph) error + type PruneUnusedValuesTransformer struct + func (t *PruneUnusedValuesTransformer) Transform(g *Graph) error + type ReferenceMap struct + func NewReferenceMap(vs []dag.Vertex) *ReferenceMap + func (m *ReferenceMap) References(v dag.Vertex) ([]dag.Vertex, []addrs.Referenceable) + func (m *ReferenceMap) Referrers(v dag.Vertex) []dag.Vertex + type ReferenceTransformer struct + func (t *ReferenceTransformer) Transform(g *Graph) error + type RefreshGraphBuilder struct + Components contextComponentFactory + Config *configs.Config + DisableReduce bool + Schemas *Schemas + State *states.State + Targets []addrs.Targetable + Validate bool + func (b *RefreshGraphBuilder) Build(path addrs.ModuleInstance) (*Graph, tfdiags.Diagnostics) + func (b *RefreshGraphBuilder) Steps() []GraphTransformer + type RemoteState struct + Config map[string]string + Type string + func (r *RemoteState) Empty() bool + func (r *RemoteState) Equals(other *RemoteState) bool + func (s *RemoteState) Lock() + func (s *RemoteState) Unlock() + type RemovableIfNotTargeted interface + RemoveIfNotTargeted func() bool + type RemovedModuleTransformer struct + Config *configs.Config + State *states.State + func (t *RemovedModuleTransformer) Transform(g *Graph) error + type Resource struct + Config *ResourceConfig + CountIndex int + Dependencies []string + Diff *InstanceDiff + Flags ResourceFlag + Id string + Info *InstanceInfo + Name string + Provider ResourceProvider + State *InstanceState + Type string + func NewResource(addr addrs.ResourceInstance) *Resource + type ResourceAddress struct + Index int + InstanceType InstanceType + InstanceTypeSet bool + Mode ResourceMode + Name string + Path []string + Type string + func NewLegacyResourceAddress(addr addrs.AbsResource) *ResourceAddress + func NewLegacyResourceInstanceAddress(addr addrs.AbsResourceInstance) *ResourceAddress + func ParseResourceAddress(s string) (*ResourceAddress, error) + func ParseResourceAddressForInstanceDiff(path []string, key string) (*ResourceAddress, error) + func (addr *ResourceAddress) AbsResourceInstanceAddr() addrs.AbsResourceInstance + func (addr *ResourceAddress) Contains(other *ResourceAddress) bool + func (addr *ResourceAddress) Equals(raw interface{}) bool + func (addr *ResourceAddress) Less(other *ResourceAddress) bool + func (addr *ResourceAddress) ModuleInstanceAddr() addrs.ModuleInstance + func (r *ResourceAddress) Copy() *ResourceAddress + func (r *ResourceAddress) HasResourceSpec() bool + func (r *ResourceAddress) MatchesResourceConfig(path addrs.Module, rc *configs.Resource) bool + func (r *ResourceAddress) String() string + func (r *ResourceAddress) WholeModuleAddress() *ResourceAddress + type ResourceAttrDiff struct + New string + NewComputed bool + NewExtra interface{} + NewRemoved bool + Old string + RequiresNew bool + Sensitive bool + Type DiffAttrType + func (d *ResourceAttrDiff) Empty() bool + func (d *ResourceAttrDiff) GoString() string + type ResourceConfig struct + ComputedKeys []string + Config map[string]interface{} + Raw map[string]interface{} + func NewResourceConfigRaw(raw map[string]interface{}) *ResourceConfig + func NewResourceConfigShimmed(val cty.Value, schema *configschema.Block) *ResourceConfig + func (c *ResourceConfig) CheckSet(keys []string) []error + func (c *ResourceConfig) DeepCopy() *ResourceConfig + func (c *ResourceConfig) Equal(c2 *ResourceConfig) bool + func (c *ResourceConfig) Get(k string) (interface{}, bool) + func (c *ResourceConfig) GetRaw(k string) (interface{}, bool) + func (c *ResourceConfig) IsComputed(k string) bool + func (c *ResourceConfig) IsSet(k string) bool + type ResourceCountTransformer struct + Addr addrs.AbsResource + Concrete ConcreteResourceInstanceNodeFunc + Count int + ForEach map[string]cty.Value + Schema *configschema.Block + func (t *ResourceCountTransformer) Transform(g *Graph) error + type ResourceFlag byte + type ResourceMode int + const DataResourceMode + const ManagedResourceMode + func (i ResourceMode) String() string + type ResourceProvider interface + Apply func(*InstanceInfo, *InstanceState, *InstanceDiff) (*InstanceState, error) + Configure func(*ResourceConfig) error + DataSources func() []DataSource + Diff func(*InstanceInfo, *InstanceState, *ResourceConfig) (*InstanceDiff, error) + GetSchema func(*ProviderSchemaRequest) (*ProviderSchema, error) + ImportState func(*InstanceInfo, string) ([]*InstanceState, error) + Input func(UIInput, *ResourceConfig) (*ResourceConfig, error) + ReadDataApply func(*InstanceInfo, *InstanceDiff) (*InstanceState, error) + ReadDataDiff func(*InstanceInfo, *ResourceConfig) (*InstanceDiff, error) + Refresh func(*InstanceInfo, *InstanceState) (*InstanceState, error) + Resources func() []ResourceType + Stop func() error + Validate func(*ResourceConfig) ([]string, []error) + ValidateDataSource func(string, *ResourceConfig) ([]string, []error) + ValidateResource func(string, *ResourceConfig) ([]string, []error) + type ResourceProviderCloser interface + Close func() error + type ResourceProviderFactory func() (ResourceProvider, error) + func ResourceProviderFactoryFixed(p ResourceProvider) ResourceProviderFactory + type ResourceProviderResolver interface + ResolveProviders func(reqd discovery.PluginRequirements) (map[string]ResourceProviderFactory, []error) + func ResourceProviderResolverFixed(factories map[string]ResourceProviderFactory) ResourceProviderResolver + type ResourceProviderResolverFunc func(reqd discovery.PluginRequirements) (map[string]ResourceProviderFactory, []error) + func (f ResourceProviderResolverFunc) ResolveProviders(reqd discovery.PluginRequirements) (map[string]ResourceProviderFactory, []error) + type ResourceProvisioner interface + Apply func(UIOutput, *InstanceState, *ResourceConfig) error + GetConfigSchema func() (*configschema.Block, error) + Stop func() error + Validate func(*ResourceConfig) ([]string, []error) + type ResourceProvisionerCloser interface + Close func() error + type ResourceProvisionerFactory func() (ResourceProvisioner, error) + type ResourceState struct + Dependencies []string + Deposed []*InstanceState + Primary *InstanceState + Provider string + Type string + func (s *ResourceState) Equal(other *ResourceState) bool + func (s *ResourceState) Lock() + func (s *ResourceState) ProviderAddr() (addrs.AbsProviderConfig, error) + func (s *ResourceState) String() string + func (s *ResourceState) Taint() + func (s *ResourceState) Unlock() + func (s *ResourceState) Untaint() + type ResourceStateKey struct + Index int + Mode ResourceMode + Name string + Type string + func ParseResourceStateKey(k string) (*ResourceStateKey, error) + func (rsk *ResourceStateKey) Equal(other *ResourceStateKey) bool + func (rsk *ResourceStateKey) String() string + type ResourceType struct + Importable bool + Name string + SchemaAvailable bool + type RootTransformer struct + func (t *RootTransformer) Transform(g *Graph) error + type RootVariableTransformer struct + Config *configs.Config + func (t *RootVariableTransformer) Transform(g *Graph) error + type Schemas struct + Providers map[string]*ProviderSchema + Provisioners map[string]*configschema.Block + func LoadSchemas(config *configs.Config, state *states.State, ...) (*Schemas, error) + func (ss *Schemas) ProviderConfig(typeName string) *configschema.Block + func (ss *Schemas) ProviderSchema(typeName string) *ProviderSchema + func (ss *Schemas) ProvisionerConfig(name string) *configschema.Block + func (ss *Schemas) ResourceTypeConfig(providerType string, resourceMode addrs.ResourceMode, resourceType string) (block *configschema.Block, schemaVersion uint64) + type Semaphore chan struct + func NewSemaphore(n int) Semaphore + func (s Semaphore) Acquire() + func (s Semaphore) Release() + func (s Semaphore) TryAcquire() bool + type State struct + Backend *BackendState + IsBinaryDrivenTest bool + Lineage string + Modules []*ModuleState + Remote *RemoteState + Serial int64 + TFVersion string + Version int + func NewState() *State + func ReadState(src io.Reader) (*State, error) + func ReadStateV2(jsonBytes []byte) (*State, error) + func ReadStateV3(jsonBytes []byte) (*State, error) + func (s *State) AddModule(path addrs.ModuleInstance) *ModuleState + func (s *State) AddModuleState(mod *ModuleState) + func (s *State) Children(path []string) []*ModuleState + func (s *State) CompareAges(other *State) (StateAgeComparison, error) + func (s *State) DeepCopy() *State + func (s *State) Empty() bool + func (s *State) EnsureHasLineage() + func (s *State) Equal(other *State) bool + func (s *State) FromFutureTerraform() bool + func (s *State) HasResources() bool + func (s *State) Init() + func (s *State) IsRemote() bool + func (s *State) Lock() + func (s *State) MarshalEqual(other *State) bool + func (s *State) ModuleByPath(path addrs.ModuleInstance) *ModuleState + func (s *State) Remove(addr ...string) error + func (s *State) RootModule() *ModuleState + func (s *State) SameLineage(other *State) bool + func (s *State) String() string + func (s *State) Unlock() + func (s *State) Validate() error + type StateAgeComparison int + const StateAgeEqual + const StateAgeReceiverNewer + const StateAgeReceiverOlder + type StateFilter struct + State *State + func (f *StateFilter) Filter(fs ...string) ([]*StateFilterResult, error) + type StateFilterResult struct + Address string + Parent *StateFilterResult + Path []string + Value interface{} + func (r *StateFilterResult) String() string + type StateFilterResultSlice []*StateFilterResult + func (s StateFilterResultSlice) Len() int + func (s StateFilterResultSlice) Less(i, j int) bool + func (s StateFilterResultSlice) Swap(i, j int) + type StateTransformer struct + ConcreteCurrent ConcreteResourceInstanceNodeFunc + ConcreteDeposed ConcreteResourceInstanceDeposedNodeFunc + State *states.State + func (t *StateTransformer) Transform(g *Graph) error + type TargetsTransformer struct + Destroy bool + IgnoreIndices bool + Targets []addrs.Targetable + func (t *TargetsTransformer) Transform(g *Graph) error + type TransitiveReductionTransformer struct + func (t *TransitiveReductionTransformer) Transform(g *Graph) error + type UIInput interface + Input func(context.Context, *InputOpts) (string, error) + type UIOutput interface + Output func(string) + type ValueSourceType rune + const ValueFromAutoFile + const ValueFromCLIArg + const ValueFromCaller + const ValueFromConfig + const ValueFromEnvVar + const ValueFromInput + const ValueFromNamedFile + const ValueFromPlan + const ValueFromUnknown + func (i ValueSourceType) String() string + func (v ValueSourceType) GoString() string + type VertexTransformer struct + Transforms []GraphVertexTransformer + func (t *VertexTransformer) Transform(g *Graph) error