github gruntwork-io/terratest v0.28.11

latest releases: v0.47.1, v0.47.0, v0.46.16...
4 years ago

Modules affected

  • aws
  • pick-instance-type [NEW CLI TOOL]

Description

  • Added a new aws.GetRecommendedInstanceType function to help us solve the issue where t2.micro and t3.micro instances are each available in some AZs, but not available in others. This module takes in a list of instance types to pick from and returns the recommended one to use, which is one that's available in all AZs in the current region.

  • Added a new pick-instance-type CLI that can be used to execute the same function from the CLI and get a recommended instance type printed to stdout. This can be used to figure out the instance type to use outside of an automated testing context: e.g., as part of a Bash script. Binaries for this CLI tool will be available as release assets in this and all future Terratest releases.

Related links

Don't miss a new terratest release

NewReleases is sending notifications on new releases.