package
0.17.2
Repository: https://github.com/gruntwork-io/go-commons.git
Documentation: pkg.go.dev

# Functions

DetachInstances requests AWS to detach the instances, removing them from the ASG.
GetAllEnabledRegions will return the list of AWS regions (e.g., us-east-1) that are enabled and available to use in the account.
GetAsgByName finds the Auto Scaling Group matching the given name.
GetSecretsManagerMetadata returns the metadata of the Secrets Manager entry with the given ID.
GetSecretsManagerSecretString will return the secret value stored at the given Secrets Manager ARN.
NewAutoscalingClient returns a new AWS SDK client for interacting with AWS Autoscaling.
No description provided by the author
NewDefaultConfig will retrieve a new authenticated AWS config using SDK default credentials.
NewEC2Client will return a new AWS SDK client for interacting with AWS EC2.
NewLookupError constructs a new LookupError object that can be used to return an error related to a look up error.
No description provided by the author
NewOptions will create a new aws.Options struct that provides reasonable defaults for unspecified values.
NewS3Client will return a new AWS SDK client for interacting with AWS S3.
NewSecretsManagerClient will return a new AWS SDK client for interacting with AWS Secrets Manager.
ScaleUp sets the desired capacity, waits until all the instances are available, and returns the new instance IDs.
SecretsManagerEntryExists returns whether or not the SecretsManager Entry with the given ARN exists.
SetAsgMaxSize sets the max size on the auto scaling group.
UploadObjectString will upload the provided string to the given S3 bucket as an object under the specified key.

# Constants

No description provided by the author

# Structs

CouldNotMeetASGCapacityError represents an error related to waiting for ASG to reach desired capacity.
LookupError represents an error related to looking up data on an object.
MultipleLookupErrors represents multiple errors found while looking up a resource.
Options represents all the parameters necessary for setting up authentication credentials with AWS.