package
0.0.0-20240625130359-b27cc5473956
Repository: https://github.com/turbot/terraform-components.git
Documentation: pkg.go.dev

# Functions

InputValuesFromCaller turns the given map of naked values into an InputValues that attributes each value to "a caller", using the source type ValueFromCaller.

# Constants

ValueFromAutoFile indicates that a value came from a "values file", like a .tfvars file, that was implicitly loaded by naming convention.
ValueFromCaller indicates that the value was explicitly overridden by a caller to Context.SetVariable after the context was constructed.
ValueFromCLIArg indicates that the value was provided directly in a CLI argument.
ValueFromConfig indicates that a value came from a .tf or .tf.json file, e.g.
ValueFromEnvVar indicates that the value was provided via an environment variable.
ValueFromInput indicates that the value was provided at an interactive input prompt.
ValueFromNamedFile indicates that a value came from a named "values file", like a .tfvars file, that was passed explicitly on the command line (e.g.
ValueFromPlan indicates that the value was retrieved from a stored plan.
ValueFromUnknown is the zero value of ValueSourceType and is not valid.

# Structs

InputOpts are options for asking for input.
InputValue represents a raw value for a root module input variable as provided by the external caller into a function like terraform.Context.Plan.

# Interfaces

UIInput is the interface that must be implemented to ask for input from this user.

# Type aliases

InputValues is a map of InputValue instances.
ValueSourceType describes what broad category of source location provided a particular value.