Skip to main content

Gruntwork release 2019-07

Guides / Update Guides / Releases / 2019-07

This page is lists all the updates to the Gruntwork Infrastructure as Code Library that were released in 2019-07. For instructions on how to use these updates in your code, check out the updating documentation.

Here are the repos that were updated:

boilerplate

v0.2.25

Published: 7/8/2019 | Release notes

terraform-aws-asg

v0.8.1

Published: 7/11/2019 | Modules affected: server-group | Release notes

  • There is a timing bug with IAM role and instance profile creation that causes the initial terraform apply to fail for code using the server-group module. This release addresses that by adding a sleep to wait for IAM resource propagation after creation.

v0.8.0

Published: 7/2/2019 | Modules affected: server-group, asg-rolling-deploy | Release notes

All the module variables have been updated to use concrete types based on the new type system introduced in terraform 0.12.0. You can learn more about the types in the official documentation.

Note that as part of this, we switched to using null to indicate unset values when passing them through to resources. If you were previously using a 0 value ("" for strings and 0 for numbers), review the module variables.tf file to double check if the 0 value has been converted to a null.

terraform-aws-beanstalk

v0.1.0

Published: 7/3/2019 | Modules affected: app-version, configuration-deployer, elasticbeanstalk-application, elasticbeanstalk-environment | Release notes

All the modules are now terraform 0.12.0 compatible. Note that this means the modules are no longer compatible with terraform 0.11 and under. Starting this release, you must use terraform 0.12.0 or greater to use this module.

All the module variables have been updated to use concrete types based on the new type system introduced in terraform 0.12.0. You can learn more about the types in the official documentation.

Note that as part of this, we switched to using null to indicate unset values when passing them through to resources. If you were previously using a 0 value ("" for strings and 0 for numbers), review the module variables.tf file to double check if the 0 value has been converted to a null.

terraform-aws-ci

v0.15.0

Published: 7/27/2019 | Modules affected: terraform-helpers | Release notes

This release updates terraform-helpers/terraform-update-variable for better terraform 0.12 and terragrunt 0.19 compatibility. Here are the changes:

  • The vars file that it searches for by default is now terragrunt.hcl instead of terraform.tfvars.
  • The vars file argument is now --vars-path, as opposed to --tfvars-file.
  • The quoting rules have changed to support more complex types. Now, instead of auto injecting quotes, it will inject the value literally. E.g if you pass in terraform-update-variable --name "foo" --value "9", this will inject the string foo = 9 instead of foo = "9". If you want the old behavior, you will need to pass in the value quoted: terraform-update-variable --name "foo" --value "\"9\""
  • The resulting file will now be passed through terraform fmt so that it is formatted.

v0.14.2

Published: 7/27/2019 | Modules affected: jenkins-server | Release notes

Fixes a bug where var.allow_incoming_http_from_security_group_ids was not creating the required security group rules due to a regression from upgrading module-load-balancer/alb, which required explicitly specifying the number of security group IDs being passed in.

v0.14.1

Published: 7/11/2019 | Modules affected: kubernetes-circleci-helpers, jenkins-server | Release notes

  • This release fixes a regression in the setup-minikube script in the kubernetes-circleci-helpers module, caused by the removal of the specific docker version we depended on from the ubuntu apt caches.
  • The install-jenkins module is now verified to work with Ubuntu 18.04.
  • The jenkins-server module is now using v0.8.1 of module-asg/modules/server-group, which includes a fix for IAM timing issues.

terraform-aws-data-storage

v0.9.1

Published: 7/25/2019 | Modules affected: rds | Release notes

  • If the allow_connections_from_cidr_blocks argument of the rds module is empty, no security group rule will be created at all now. This makes CIDR based rules completely optional.

terraform-aws-ecs

v0.14.1

Published: 7/18/2019 | Modules affected: ecs-fargate | Release notes

  • Fixes a bug where the health_check_timeout variable was not used for setting the timeout to LB target group health check.

terraform-aws-eks

v0.6.0

Published: 7/1/2019 | Modules affected: eks-vpc-tags, eks-k8s-role-mapping, eks-k8s-external-dns, eks-k8s-external-dns-iam-policy | Release notes

All the modules are now terraform 0.12.0 compatible. Note that this means the modules are no longer compatible with terraform 0.11 and under. Starting this release, you must use terraform 0.12.0 or greater to use this module.

All the module variables have been updated to use concrete types based on the new type system introduced in terraform 0.12.0. You can learn more about the types in the official documentation.

Note that as part of this, we switched to using null to indicate unset values when passing them through to resources. If you were previously using a 0 value ("" for strings and 0 for numbers), review the module variables.tf file to double check if the 0 value has been converted to a null.

terraform-aws-elk

v0.4.0

Published: 7/2/2019 | Modules affected: logstash-security-group-rules, logstash-iam-policies, logstash-cluster, load-balancer-alb-target-group | Release notes

All the modules are now terraform 0.12.0 compatible. Note that this means the modules are no longer compatible with terraform 0.11 and under. Starting this release, you must use terraform 0.12.0 or greater to use this module.

All the module variables have been updated to use concrete types based on the new type system introduced in terraform 0.12.0. You can learn more about the types in the official documentation.

Note that as part of this, we switched to using null to indicate unset values when passing them through to resources. If you were previously using a 0 value ("" for strings and 0 for numbers), review the module vars.tf file to double check if the 0 value has been converted to a null.

terraform-aws-kafka

v0.6.0

Published: 7/6/2019 | Modules affected: kafka-security-group-rules, confluent-tools-cluster, kafka-cluster, kafka-iam-permissions | Release notes

  • kafka-security-group-rules [BACKWARDS INCOMPATIBLE]
  • confluent-tools-cluster [BACKWARDS INCOMPATIBLE]
  • kafka-cluster [BACKWARDS INCOMPATIBLE]
  • kafka-iam-permissions [BACKWARDS INCOMPATIBLE]
  • confluent-tools-security-group-rules [BACKWARDS INCOMPATIBLE]
  • confluent-tools-iam-permissions [BACKWARDS INCOMPATIBLE]

All the modules are now terraform 0.12.0 compatible. Note that this means the modules are no longer compatible with terraform 0.11 and under. Starting this release, you must use terraform 0.12.0 or greater to use this module.

All the module variables have been updated to use concrete types based on the new type system introduced in terraform 0.12.0. You can learn more about the types in the official documentation.

Note that as part of this, we switched to using null to indicate unset values when passing them through to resources. If you were previously using a 0 value ("" for strings and 0 for numbers), review the module vars.tf file to double check if the 0 value has been converted to a null.

terraform-aws-mongodb

v0.4.0

Published: 7/2/2019 | Modules affected: mongodb-cluster, mongodb-backup | Release notes

All the modules are now terraform 0.12.0 compatible. Note that this means the modules are no longer compatible with terraform 0.11 and under. Starting this release, you must use terraform 0.12.0 or greater to use this module.

All the module variables have been updated to use concrete types based on the new type system introduced in terraform 0.12.0. You can learn more about the types in the official documentation.

Note that as part of this, we switched to using null to indicate unset values when passing them through to resources. If you were previously using a 0 value ("" for strings and 0 for numbers), review the module vars.tf file to double check if the 0 value has been converted to a null.

terraform-aws-monitoring

v0.13.3

Published: 7/9/2019 | Modules affected: alarms/elasticsearch-alarms | Release notes

  • You can now disable yellow cluster status alarms for Elasticsearch by setting var.disable_status_yellow_alarm to true.

v0.12.8

Published: 7/9/2019 | Modules affected: alarms/elasticsearch-alarms | Release notes

  • You can now disable yellow cluster status alarms for Elasticsearch by setting var.disable_status_yellow_alarm to true.

terraform-aws-openvpn

v0.9.3

Published: 7/26/2019 | Modules affected: openvpn-server | Release notes

  • Make GP2 the default root volume type to match what is created in the console

terraform-aws-security

v0.17.2

Published: 7/6/2019 | Modules affected: **No changes to underlying modules.** | Release notes

Starting this release, all the modules are tested and verified to work with Ubuntu 18.04.

terraform-aws-server

v0.7.2

Published: 7/11/2019 | Modules affected: persistent-ebs-volume | Release notes

  • Fix mount-ebs-volume so it works properly on Amazon Linux.

v0.7.1

Published: 7/3/2019 | Release notes

Starting this release, all the scripts are now tested and verified to work with Ubuntu 18.04. No change has been made to the scripts themselves.

terraform-aws-static-assets

v0.5.2

Published: 7/24/2019 | Modules affected: s3-cloudfront | Release notes

  • Add support for Lambda @ Edge by allowing you to associate lambda functions to the cloudfront distribution. This can be done by passing in the new var.default_lambda_associations list.

v0.5.1

Published: 7/17/2019 | Modules affected: s3-cloudfront | Release notes

  • Fixes a bug where the IAM certs were not being properly used in s3-cloudfront.
  • Fixes a perpetual diff caused when specifying both IAM or ACM certs and default certs.

v0.4.4

Published: 7/12/2019 | Modules affected: s3-cloudfront | Release notes

  • s3-cloudfront
  • The s3-cloudfront module now supports the use of an Origin Group for the ability to failover automatically in the event your primary bucket is not accessible
  • #22

v0.5.0

Published: 7/8/2019 | Release notes

Modules affected

s3-static-website [BACKWARDS INCOMPATIBLE] s3-cloud front [BACKWARDS INCOMPATIBLE]

Description All the modules are now terraform 0.12.0 compatible. Note that this means the modules are no longer compatible with terraform 0.11 and under. Starting this release, you must use terraform 0.12.0 or greater to use this module.

All the module variables have been updated to use concrete types based on the new type system introduced in terraform 0.12.0. You can learn more about the types in the official documentation.

Note that as part of this, we switched to using null to indicate unset values when passing them through to resources. If you were previously using a 0 value ("" for strings and 0 for numbers), review the module variables.tf file to double check if the 0 value has been converted to a null.

Related links

terraform-aws-vpc

v0.6.1

Published: 7/22/2019 | Modules affected: vpc-mgmt, vpc-app | Release notes

  • Fix a bug where the availability_zones outputs of vpc-app and vpc-mgmt had an extra layer of nesting, so you ended up with a list of lists, rather than a single, flat list.

terraform-aws-zookeeper

v0.6.2

Published: 7/12/2019 | Modules affected: zookeeper-cluster | Release notes

  • Resolves an IAM timing fix in the zookeeper-cluster module that can happen occasionally.

v0.6.1

Published: 7/10/2019 | Modules affected: **No changes to underlying modules.** | Release notes

Starting this release, all the modules are tested and verified to work with Ubuntu 18.04.

terraform-kubernetes-helm

v0.5.1

Published: 7/26/2019 | Modules affected: **No changes to underlying modules** | Release notes

  • Improve testing: test latest version of kubergrunt and update setup-minikube script for CI.
  • Fix typo in root example where the helm client TLS public certificate was not being returned.