Skip to main content

Step 2: update references to the Gruntwork Infrastructure as Code Library

In order to take advantage of the Terraform 1.1, you need to update your references to the Gruntwork Infrastructure as Code Library to use a compatible version. We (Gruntwork) have gone through all our modules in the library to test and update the code to be compatible with Terraform 1.1. As a customer, you need to update to the proper versions of the Gruntwork library to pick up the fixes/changes that we made to be compatible. Refer to the "Updating to new versions" section of "Stay Up to Date" for instructions on how to update the versions in your code.

The releases of the modules from the Gruntwork Infrastructure as Code Library that correspond with the Terraform 1.1 upgrade don't include any backwards incompatible changes. Therefore, the only changes that you will need to do are version number bumps.

caution

Gruntwork follows semantic versioning. For any pre-1.0 modules, this means that version updates to the minor version are considered backwards incompatible releases for any version updates prior to 1.0.0 release. Make sure to read the release notes for the relevant modules any time you are updating minor versions! Note that you will want to read the release notes for each minor version that is updated (e.g., if you are going from v0.5.x to v0.9.x, you will want to read the notes for v0.6.0, v0.7.0, v0.8.0, and v0.9.0 to get the full list of backwards incompatible updates).

The following table provides a summary of all the relevant Gruntwork AWS modules and the respective versions that are compatible with Terraform 1.1:

Version Compatibility Table

Gruntwork Repo

Minimum version with Terraform 1.1 support

Terratest

v0.40.0

Terragrunt

v0.36.0

terraform-aws-utilities

v0.7.0

terraform-aws-vpc

v0.20.0

terraform-aws-asg

v0.17.0

terraform-aws-server

v0.14.0

terraform-aws-lambda

v0.17.0

terraform-aws-security

v0.62.0

terraform-aws-load-balancer

v0.27.0

terraform-aws-data-storage

v0.23.0

terraform-aws-cache

v0.17.0

terraform-aws-messaging

v0.8.0

terraform-aws-static-assets

v0.13.0

terraform-aws-monitoring

v0.31.0

terraform-aws-openvpn

v0.21.0

terraform-aws-ecs

v0.32.0

terraform-aws-ci

v0.44.0

terraform-aws-eks

v0.49.0

terraform-kubernetes-namespace

v0.5.0

terraform-aws-cis-service-catalog

v0.31.0

terraform-aws-architecture-catalog

v0.0.27

terraform-aws-service-catalog

v0.77.0