Skip to main content

Gruntwork release 2018-03

Guides / Update Guides / Releases / 2018-03

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

Here are the repos that were updated:

gruntwork

v0.0.17

Published: 3/27/2018 | Release notes

https://github.com/gruntwork-io/gruntwork/pull/23: You can now use spaces in zip codes when buying domain names.

terraform-aws-asg

v0.6.9

Published: 3/1/2018 | Release notes

https://github.com/gruntwork-io/module-asg/pull/25: Fix multiline python commands so they work on Windows.

v0.6.8

Published: 3/1/2018 | Release notes

https://github.com/gruntwork-io/module-asg/pull/24: Update to latest package-terraform-utilities to fix a bug where the join-path module doesn’t work with newer versions of Python.

v0.6.7

Published: 3/1/2018 | Release notes

https://github.com/gruntwork-io/module-asg/pull/23: Fix rolling deployment script path on Windows.

terraform-aws-cache

v0.3.4

Published: 3/13/2018 | Release notes

terraform-aws-data-storage

v0.6.0

Published: 3/19/2018 | Release notes

BACKWARDS INCOMPATIBLE RELEASE

Replaces bastion_host_security_group_id with allow_connections_from_security_groups array to allow specifying more than one security group. This change is backward incompatible and you need to include bastion_host_security_group_id in the allow_connections_from_security_groups array to get this to work

v0.5.2

Published: 3/7/2018 | Release notes

https://github.com/gruntwork-io/module-data-storage/pull/36: If you wish to make your Aurora database accessible from the public Internet, you can now set the publicly_accessible flag to true (WARNING: NOT RECOMMENDED FOR PRODUCTION USAGE!!). The default is false, which means the database is only accessible from within the VPC, which is much more secure.

terraform-aws-ecs

v0.6.4

Published: 3/20/2018 | Release notes

https://github.com/gruntwork-io/module-ecs/pull/58: You can now use spot instances with your ECS cluster by setting the cluster_instance_spot_price parameter to the maximum bid price you want to use on the EC2 Spot Market!

NOTE: due to a bug in Terraform, if you update an existing cluster with a spot price, you might see an error like this when you run apply:

* module.ecs_cluster.aws_launch_configuration.ecs: aws_launch_configuration.ecs: diffs didn't match during apply. This is a bug with Terraform and should be reported as a GitHub Issue.

Running apply a second time seems to complete without errors.

v0.6.3

Published: 3/6/2018 | Release notes

terraform-aws-kafka

v0.2.1

Published: 3/2/2018 | Release notes

https://github.com/gruntwork-io/package-kafka/pull/26: Update server-group module to fix issues with the rolling deployment script on Windows.

Please note that this is a pre-release. See v0.2.0 for an explanation.

v0.2.0

Published: 3/1/2018 | Release notes

We've updated the Kafka module to include support for Confluent Schema Registry, REST Proxy, and Kafka Connect! These services also include support for SSL. We've also introduced a new, simpler configuration file approach where you can specify any number of well-defined "replacement variables" that will automatically be updated when you call the appropriate run-xxx script at boot in user data (e.g. run-schema-registry).

Unfortunately, our automated tests consistently fail for Amazon Linux only, and we encountered what appear to be several bugs with Schema Registry itself in how forwarding is handled. Diagnosing these issues has proven to be very trying because after we make a fix, it takes another 45 minutes for a full build to complete, leading to an incredibly long feedback loop.

As a result, we're marking this as pre-release. That means that you are free to begin using this code, but you should know that, until our automated tests pass, you may encounter subtle issues, especially around forwarding from non-master nodes.

Going forward, we will immediately be investing in a new approach to writing modules that makes our cycle time about 10x faster. In particular, we intend to run the Confluent Stack using Docker Compose for local testing so that we can restart it multiple times without having to wait either for Packer to build a new AMI or for AWS to launch a whole cluster of EC2 Instances. Stay tuned!

terraform-aws-lambda

v0.2.1

Published: 3/1/2018 | Release notes

https://github.com/gruntwork-io/package-lambda/pull/11: Add new lambda-edge module that can be used to deploy Lambda@Edge functions with Terraform.

terraform-aws-load-balancer

v0.7.2

Published: 3/16/2018 | Release notes

https://github.com/gruntwork-io/module-load-balancer/pull/25: Fix a bug so the ssl_policy parameter introduced in the previous release works with both ACM TLS certs and non-ACM TLS certs.

v0.7.1

Published: 3/12/2018 | Release notes

https://github.com/gruntwork-io/module-load-balancer/pull/24: You can now configure the SSL policy for the ALB using the ssl_policy variable.

terraform-aws-monitoring

v0.9.1

Published: 3/26/2018 | Release notes

https://github.com/gruntwork-io/module-aws-monitoring/pull/47: Fix run-cloudwatch-logs-agent.sh so for Amazon Linux and CentOS so instead of sending /var/log/auth.log, which doesn't exist, it sends /var/log/secure to CloudWatch Logs.

terraform-aws-sam

v0.1.2

Published: 3/23/2018 | Release notes

v0.1.1

Published: 3/22/2018 | Release notes

Multiple stage deployments were causing a Terraform error

v0.1.0

Published: 3/21/2018 | Release notes

Refactor the auto-generated code by creating the aws_api_gateway_rest_api resource external to the modules in order allow additional resources to be added via Terraform. Additionally, split the auto-generated code into two separate modules to allow for deployment of multiple api gateway stages separately from the definition of the resources.

THIS VERSION IS NOT BACKWARDS COMPATIBLE AND ANY CODE REFERENCING AUTO-GENERATED MODULES WILL NEED TO BE UPDATED.

terraform-aws-security

v0.8.0

Published: 3/14/2018 | Release notes

v0.7.3

Published: 3/1/2018 | Release notes

https://github.com/gruntwork-io/module-security/pull/75: The auto-update, fail2ban, and ntp modules now all support CentOS.

v0.7.2

Published: 3/1/2018 | Release notes

https://github.com/gruntwork-io/module-security/pull/74: Add a new module called ssh-iam-selinux-policy. If you are using ssh-iam on CentOS, you should install this module so that SELinux doesn't prevent ssh-iam from working!

terraform-aws-server

v0.4.2

Published: 3/12/2018 | Release notes

terraform-aws-static-assets

v0.3.2

Published: 3/28/2018 | Release notes

v0.3.1

Published: 3/14/2018 | Release notes

https://github.com/gruntwork-io/package-static-assets/pull/9: You can now configure CORS for the S3 bucket using the new cors_rule parameter in the s3-static-website module.

v0.3.0

Published: 3/14/2018 | Release notes

https://github.com/gruntwork-io/package-static-assets/pull/7:

BACKWARDS INCOMPATIBLE CHANGE

The s3-static-website module now enables server-side encryption by default. The encryption settings can be configured by a new input variable called server_side_encryption_configuration. If you'd like to disable server-side encryption, set server_side_encryption_configuration = [].

terraform-aws-utilities

v0.0.3

Published: 3/1/2018 | Release notes

https://github.com/gruntwork-io/package-terraform-utilities/pull/4: Fix print call in the operating-system module so it works with newer versions of Python.

v0.0.2

Published: 3/1/2018 | Release notes

https://github.com/gruntwork-io/package-terraform-utilities/pull/3: Added two new modules:

  1. operating-system: This can be used to detect the operating system on which Terraform is currently running.

  2. join-path: This can be used to join multiple path parts (folders, files) into a single path, using the proper separator for the current OS.

The primary use case is so we can format paths properly on Windows vs Linux.

terraform-aws-zookeeper

v0.4.1

Published: 3/30/2018 | Release notes

  • #23: Previously, we installed mvn (Maven) using yum and found that this actually installs the OpenJDK along with it! In some cases, OpenJDK even became the default Java installation, over the Oracle JDK we had already installed. This release updates our Maven installation method so that it no longer installs OpenJDK.

v0.4.0

Published: 3/23/2018 | Release notes

  • #22: This repo now has its own standalone "bash commons" module.

    Recently, we've begun introducing Docker containers into our repos to enable a much faster cycle time when building the module. As part of this effort, we've consolidated all our generic bash functions into a "bash commons" library that can be shared among multiple modules in this repo.

    With this update we place the bash-commons libraries into their own module. Although the interface to all the script modules in this repo remains unchanged, you now have to gruntwork-install the bash-commons module in order for many of the modules to work. You can install the bash-commons module like this:

    gruntwork-install --module-name 'bash-commons' --tag '~>0.4.0' --repo https://github.com/gruntwork-io/package-zookeeper

v0.3.2

Published: 3/16/2018 | Release notes

  • #20, #21: We now support running Zookeeper on CentOS 7!

  • As part of this release, we also invested in creating a Docker-based local dev environment to make iterating development much faster.

v0.3.1

Published: 3/2/2018 | Release notes

https://github.com/gruntwork-io/package-zookeeper/pull/19: Updated the server-group module version to fix the deployment script on Windows.