package
1.12.0-alpha20250213
Repository: https://github.com/hashicorp/terraform.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ConfigForAbs returns the "in stack config" equivalent of the given "in stack instance" (absolute) address by just discarding any instance keys from the stack instance steps.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseReference raises a raw absolute traversal into a higher-level reference, or returns error diagnostics explaining why it cannot.
ParseRemovedFrom parses the "from" attribute of a "removed" block in a configuration and returns the address of the configuration object being removed.
ReferenceableUniqueKey returns a unique key for a dynamically-typed referenceable address.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

AbsReference is an absolute form of [Reference] that is to be resolved in the global scope of a particular stack.
AbsReferenceable is a [Referenceable] combined with the stack it would be resolved in.
Component is the address of a "component" block within a stack config.
ComponentInstance is the address of a dynamic instance of a component.
ComponentTargetable is an adapter type that makes everything that's targetable in the main Terraform language also targetable through a component instance when in a stack configuration.
InAbsComponentInstance represents addresses of objects that belong to the module instances associated with a particular component instance.
InConfigComponent represents addresses of objects that belong to the modules associated with a particular component.
No description provided by the author
InStackConfig is the generic form of addresses representing configuration objects belonging to particular nodes in the static tree of stack configurations.
InStackInstance is the generic form of addresses representing dynamic instances of objects that exist within an instance of a stack.
No description provided by the author
No description provided by the author
ProviderConfig is the address of a "provider" block in a stack configuration.
ProviderConfigInstance is the address of a specific provider configuration, of which there might potentially be many associated with a given [ProviderConfig] if that block uses the "for_each" argument.
ProviderConfigRef is a reference-only address type representing a reference to a particular provider configuration using its local name, since local name is how we refer to providers when they appear in expressions.
Reference describes a reference expression found in the configuration, capturing what it referred to and where it was found in source code.
StackCall represents a call to an embedded stack.
No description provided by the author
No description provided by the author
TestOnlyGlobal is a special referenceable address type used only in stackruntime and stackeval package unit tests, as a way to introduce arbitrary test data into scope with minimal ceremony and thus in a way that's less likely to be regressed by changes to real language features.

# Interfaces

InComponentable just embeds the interfaces that we require for the type parameters of both the [InConfigComponent] and [InAbsComponent] types.
Referenceable is a type set containing all address types that can be the target of an expression-based reference within a particular stack.
StackItemConfig is a type set containing all of the address types that make sense to consider as belonging statically to a [Stack].
StackItemDynamic is a type set containing all of the address types that make sense to consider as belonging dynamically to a [StackInstance].
Targetable is the stacks analog to [addrs.Targetable], representing something that can be "targeted" inside a stack configuration.

# Type aliases

No description provided by the author
Stack represents the address of a stack within the tree of stacks.
StackInstance represents the address of an instance of a stack within the tree of stacks.