Releases: gruntwork-io/terratest
Releases · gruntwork-io/terratest
v0.1.3
- Add helpers for checking URLs, including
HttpGet
,HttpGetWithRetry
, andCheckTerraformOutputUrlReturnsExpectedText
. - Add
AccountId
toRandomResourceCollection
. - Add a
GetRandomVpc
method that retrieves a random VPC in a specified region. The VPC details include the vpc id, name, and subnets. - Add a
GetAmazonLinuxAmi
that returns the ID of an Amazon Linux AMI in the specified region.
v0.1.2
v0.1.1
This release allows library consumers to use only the terratest
package and no longer expects consumers to use internal packages. Specific new features include:
- Adds a helper function that returns a convenient format for a list of AWS availability zones.
- Adds a helper function to get a random CIDR block from the
terratest
package.
v0.1.0
Breaking Changes:
- The interface for library consumers has changed from a single
Apply
function toApply
,Destroy
andApplyAndDestroy
.
New Features:
- Tests can now declare specific error messages for which a terraform apply should be automatically retried.
- Tests can now declare which AWS regions they should not be run in. This is especially useful if your terraform template contains resources that aren't available in a particular region.
Under-the-Hood Improvements:
- Various code clean-up and applies better golang practices.
- Adds a
circle.yml
to validate each build with parallel tests
v0.0.1
Initial release of terratest!
- Expose a basic DSL for running "unit" tests with Terraform
- Allow multiple tests to run in parallel by handling namespacing and randomly choosing regions
- Handle other boilerplate in running a Terraform test
- Shell out to Terraform to run needed Terraform commands