# Functions
New returns a new Util given config.
No description provided by the author
No description provided by the author
No description provided by the author
NewDurationUtil creates a new `DuractionUtil`.
NewMainTFTemplate creates a new instance of the MainTFTemplate.
ParseOptions parses the given options into an array of strings.
# Constants
No description provided by the author
No description provided by the author
# Structs
APITokenProvider is a custom AWS Credentials provider which uses a base64 encoded token containing a STS credentials as JSON See https://docs.aws.amazon.com/sdk-for-go/api/aws/credentials/#hdr-Custom_Provider
Using a custom Provider does a few things for us: - Allows chaining credentials, so we can fall back to env vars, creds fil - The `Retrieve` method is cached by the client, so we don't need to re-parse our API token at every call - Provides a mechanism for handling expired creds.
No description provided by the author
No description provided by the author
DurationUtil has the.
No description provided by the author
No description provided by the author
MainTFTemplate is the template for writing the main.tf file.
No description provided by the author
No description provided by the author
Adapted from https://stackoverflow.com/questions/39527847/is-there-middleware-for-go-http-client.
TerraformBinUtil uses the Teraform binary to peform the init and apply.
TFVar represents a variable that is in the.
No description provided by the author
No description provided by the author
# Interfaces
APIer is an interface generated for "github.com/Optum/dce-cli/client/operations.Client".
No description provided by the author
Durationer is an interface for exanding strings into times.
No description provided by the author
No description provided by the author
No description provided by the author
TerraformBinDownloader - interface for the downloader to download the Terraform binary from a URL ans save it locally.
TerraformBinFileSystemUtil - interface for interacting with the file system.
No description provided by the author
TFTemplater is an interface for the templater that generates the main.tf file.
No description provided by the author