package
1.6.0
Repository: https://github.com/overmindtech/cli.git
Documentation: pkg.go.dev

# Functions

ConfigFromProvider creates an aws.Config from an AWSProvider that uses the provided HTTP client.
Loads the eval context in the same way that Terraform does, this means it supports TF_VAR_* environment variables, terraform.tfvars, terraform.tfvars.json, *.auto.tfvars, and *.auto.tfvars.json files, and -var and -var-file arguments.
MappedItemDiffsFromPlan takes a plan JSON, file name, and log fields as input and returns the mapping results and an error.
No description provided by the author
Parses AWS provider config from all terraform files in the given directory, without recursion as we don't yet support providers in submodules.
Parses the value of a -var flag.
Parses a given TF Vars file into the given eval context.
Parses a given TF Vars JSON file into the given eval context.
Parses the os.Args for -var and -var-file arguments and adds them to the eval context.
Parses either a `json` or `tfvars` formatted vars file ands adds these variables to the context.

# 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

# Structs

Fields that are used for assuming a role, see: https://registry.terraform.io/providers/hashicorp/aws/latest/docs#assuming-an-iam-role.
Fields that are used for assuming a role with web identity, see: https://registry.terraform.io/providers/hashicorp/aws/latest/docs#assuming-an-iam-role-using-a-web-identity.
This struct represents an AWS provider block in a terraform file.
Change is the representation of a proposed change for an object.
No description provided by the author
Resource is the representation of a resource in the config.
Importing is a nested object for the resource import metadata.
Module is the representation of a module in state.
No description provided by the author
Plan is the top-level representation of the json format of a plan.
No description provided by the author
No description provided by the author
ProviderConfig describes all of the provider configurations throughout the configuration tree, flattened into a single map for convenience since provider configurations are the one concept in Terraform that can span across module boundaries.
This struct allows us to parse any HCL file that contains an AWS provider using the gohcl library.
No description provided by the author
Resource is the representation of a resource in the json plan.
ResourceAttr contains the address and attribute of an external for the RelevantAttributes in the plan.
ResourceChange is a description of an individual change action that Terraform plans to use to move from the prior state to a new state matching the configuration.
State is the top-level representation of the json format of a terraform state.
StateValues is the common representation of resolved values for both the prior state (which is always complete) and the planned new state.
No description provided by the author
No description provided by the author

# Type aliases

AttributeValues is the JSON representation of the attribute values of the resource, whose structure depends on the resource type schema.
No description provided by the author
Variables is the JSON representation of the variables provided to the current plan.