Step 3: update references to the Gruntwork Infrastructure as Code Library
In order to take advantage of the Terraform 0.13, 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 0.13. As a customer, you need to update to the proper versions of the Gruntwork library to pick up the fixes/changes that were made to be compatible. Refer to our "Updating to new versions" guide for instructions on how to update the versions in your code.
For the vast majority of the repos, the only change that will be necessary is a version number bump, but several repos
require more extensive code changes and state migrations. To upgrade without downtime and data loss, you MUST follow
the migration instructions in the release notes in each repo to know what changes need to be made to update to the new
version. The repo most affected by the 0.13 backward incompatibilities was terraform-aws-eks
, so if you are an EKS
user, pay special attention to the release notes!
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 0.13:
Version Compatibility Table
Gruntwork Repo | Minimum version with Terraform 0.13 support |
Terratest | |
Terragrunt | |
package-terraform-utilities | |
terraform-aws-vpc | |
module-asg | |
module-server | |
package-lambda | |
module-security | |
module-load-balancer | |
module-data-storage | |
module-cache | |
package-messaging | |
package-static-assets | |
terraform-aws-monitoring | |
package-openvpn | |
module-ecs | |
module-ci | |
terraform-aws-eks | |
package-zookeeper | |
package-kafka | |
package-elk | |
terraform-kubernetes-helm | Deprecated. Migrate to |
terraform-kubernetes-namespace | |
cis-compliance-aws | |
package-sam | |
terraform-aws-couchbase | |
terraform-aws-influx | |
terraform-aws-consul | |
terraform-aws-vault | |
terraform-aws-nomad |