# Functions
EnvDefaultFunc is a helper function that returns the value of the given environment variable, if one exists, or the default value otherwise.
ImportStatePassthrough is an implementation of StateFunc that can be used to simply pass the ID directly through.
MultiEnvDefaultFunc is a helper function that returns the value of the first environment variable in the given list that returns a non-empty value.
ParseResourceStateKey accepts a key in the format used by ModuleState.Resources and returns a resource name and resource index.
# 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
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
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
# Structs
EphemeralState is a legacy type now used only to represent the resource type of a new resource instance object during a "terraform import" operation.
InstanceDiff is the diff of a resource from some state to another.
InstanceState is a legacy representation of the state of a single resource instance object.
ModuleState is a legacy representation of a module from a State.
OutputState is a legacy representation of an output value from a State.
Resource represents a thing in Terraform that has a set of configurable attributes and a lifecycle (create, read, update, delete).
ResourceAttrDiff is the diff of a single attribute of a resource.
ResourceConfig is a legacy type that was formerly used to represent interpolatable configuration blocks.
ResourceData is used to query and set the attributes of a resource.
ResourceDiff is used to query and make custom changes to an in-flight diff.
ResourceImporter defines how a resource is imported in Terraform.
ResourceState is a legacy representation of the state of a particular resource instance.
ResourceStateKey is a structured representation of the key used for the ModuleState.Resources mapping.
No description provided by the author
Schema is used by older providers to describe a single attribute or a nested block type, depending on the value of ConfigMode.
State is a snapshot of the state in a legacy format.
No description provided by the author
# Type aliases
See Resource documentation.
See Resource documentation.
See Resource documentation.
DiffAttrType is an enum type that says whether a resource attribute diff is an input attribute (comes from the configuration) or an output attribute (comes as a result of applying the configuration).
See Resource documentation.
See Resource documentation.
No description provided by the author
SchemaConfigMode is used to influence how a schema item is mapped into a corresponding configuration construct, using the ConfigMode field of Schema.
SchemaDefaultFunc is a function called to return a default value for a field.
SchemaDiffSuppressFunc is a function which can be used to determine whether a detected diff on a schema element is "valid" or not, and suppress it from the plan if necessary.
SchemaSetFunc is a function that must return a unique ID for the given element.
SchemaStateFunc is a function used to convert some type to a string to be stored in the state.
SchemaValidateFunc is a function used to validate a single field in the schema.
StateFunc is the function called to import a resource into the Terraform state.
See Resource documentation.
See StateUpgrader.
See Resource documentation.
ValueType is an enum of the type kinds that can be represented by a schema.