package
0.8.4
Repository: https://github.com/r3labs/terraform.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Append appends one configuration to another.
DetectVariables takes an AST root and returns all the interpolated variables that are detected in the AST tree.
Funcs is the mapping of built-in functions for configuration.
IsEmptyDir returns true if the directory given has no Terraform configuration files.
LoadDir loads all the Terraform configuration files in a single directory and appends them together.
LoadFile loads the Terraform configuration from a given file.
LoadJSON loads a single Terraform configuration from a given JSON document.
Merge merges two configurations into a single configuration.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewRawConfig creates a new RawConfig structure and populates the publicly readable struct fields.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ProviderConfigName returns the name of the provider configuration in the given mapping that maps to the proper provider configuration for this resource.
TestRawConfig is used to create a RawConfig for testing.

# 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
UnknownVariableValue is a sentinel value that can be used to denote that the value of a variable is unknown at this time.
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

NameRegexp is the regular expression that all names (modules, providers, resources, etc.) must follow.

# Structs

AtlasConfig is the configuration for building in HashiCorp's Atlas.
Config is the configuration that comes from loading a collection of Terraform templates.
CountVariable is a variable for referencing information about the count.
ErrNoConfigsFound is the error returned by LoadDir if no Terraform configuration files were found in the given directory.
Module is a module used within a configuration.
A ModuleVariable is a variable that is referencing the output of a module, such as "${module.foo.bar}".
Output is an output defined within the configuration.
A PathVariable is a variable that references path information about the module.
ProviderConfig is the configuration for a resource provider.
Provisioner is a configured provisioner step on a resource.
RawConfig is a structure that holds a piece of configuration where the overall structure is unknown since it will be used to configure a plugin or some other similar external component.
A resource represents a single Terraform resource in the configuration.
ResourceLifecycle is used to store the lifecycle tuning parameters to allow customized behavior.
A ResourceVariable is a variable that is referencing the field of a resource, such as "${aws_instance.foo.ami}".
SelfVariable is a variable that is referencing the same resource it is running on: "${self.address}".
SimpleVariable is an unprefixed variable, which can show up when users have strings they are passing down to resources that use interpolation internally.
Terraform is the Terraform meta-configuration that can be present in configuration files for configuring Terraform itself.
A UserVariable is a variable that is referencing a user variable that is inputted from outside the configuration.
Variable is a variable defined within the configuration.

# Interfaces

An InterpolatedVariable is a variable reference within an interpolation.

# Type aliases

CountValueType is the type of the count variable that is referenced.
No description provided by the author
go:generate stringer -type=ResourceMode -output=resource_mode_string.go resource_mode.go.
VariableType is the type of value a variable is holding, and returned by the Type() function on variables.