package
0.0.0-20240423105938-c441d598810c
Repository: https://github.com/cloudposse/terraform-provider-awsutils.git
Documentation: pkg.go.dev

# Functions

FailIfAllEnvVarEmpty verifies that at least one environment variable is non-empty or fails the test.
FailIfEnvVarEmpty verifies that an environment variable is non-empty or fails the test.
GetEnvVarWithDefault gets an environment variable value if non-empty or returns the default.
No description provided by the author
No description provided by the author
Returns a properly initialized MutexKV.
No description provided by the author
RequireEnvVar verifies that an environment variable is non-empty or returns an error.
RequireOneOfEnvVar verifies that at least one environment variable is non-empty or returns an error.
ReverseDNS switches a DNS hostname to reverse DNS and vice-versa.
SkipIfAllEnvVarEmpty verifies that at least one environment variable is non-empty or skips the test.
SkipIfEnvVarEmpty verifies that an environment variable is non-empty or skips the test.
No description provided by the author

# Constants

For tests requiring restricted IAM permissions, an existing IAM Role to assume An inline assume role policy is then used to deny actions for the test.
Default static credential identifier for tests (AWS Go SDK does not provide this as constant) See also AWS_SECRET_ACCESS_KEY and AWS_PROFILE.
For tests using an alternate AWS account, the equivalent of AWS_ACCESS_KEY_ID for that account.
For tests using an alternate AWS account, the equivalent of AWS_PROFILE for that account.
For tests using an alternate AWS region, the equivalent of AWS_DEFAULT_REGION for that account.
For tests using an alternate AWS account, the equivalent of AWS_SECRET_ACCESS_KEY for that account.
The ARN of the IAM Role to assume.
The duration in seconds the IAM role will be assumed.
An External ID to pass to the assumed role.
A session name for the assumed role.
Container credentials endpoint See also AWS_ACCESS_KEY_ID and AWS_PROFILE.
Default AWS region for tests (AWS Go SDK does not provide this as constant).
For tests requiring GitHub permissions.
Default AWS shared configuration profile for tests (AWS Go SDK does not provide this as constant).
Default static credential value for tests (AWS Go SDK does not provide this as constant) See also AWS_ACCESS_KEY_ID and AWS_PROFILE.
For tests using a third AWS region, the equivalent of AWS_DEFAULT_REGION for that region.

# Variables

GlobalMutexKV is a global MutexKV for use within this plugin.

# Structs

No description provided by the author
No description provided by the author
MutexKV is a simple key/value store for arbitrary mutexes.