Skip to content

[Automated Update][terraform-aws-asg] v1.0.0 release #2573

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx';
import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx';
import { ModuleUsage } from "../../../../../src/components/ModuleUsage";

<VersionBadge repoTitle="Auto Scaling Group Modules" version="0.21.19" lastModifiedVersion="0.21.11"/>
<VersionBadge repoTitle="Auto Scaling Group Modules" version="1.0.0" lastModifiedVersion="0.21.11"/>

# Auto Scaling Group Module with Instance Refresh

<a href="https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.19/modules/asg-instance-refresh" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
<a href="https://github.com/gruntwork-io/terraform-aws-asg/tree/v1.0.0/modules/asg-instance-refresh" className="link-button" title="View the source code for this module in GitHub.">View Source</a>

<a href="https://github.com/gruntwork-io/terraform-aws-asg/releases/tag/v0.21.11" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>

Expand Down Expand Up @@ -89,7 +89,7 @@ The Terraform [instance_refresh](https://registry.terraform.io/providers/hashico

module "asg_instance_refresh" {

source = "git::[email protected]:gruntwork-io/terraform-aws-asg.git//modules/asg-instance-refresh?ref=v0.21.19"
source = "git::[email protected]:gruntwork-io/terraform-aws-asg.git//modules/asg-instance-refresh?ref=v1.0.0"

# ----------------------------------------------------------------------------------------------------
# REQUIRED VARIABLES
Expand Down Expand Up @@ -220,7 +220,7 @@ module "asg_instance_refresh" {
# ------------------------------------------------------------------------------------------------------

terraform {
source = "git::[email protected]:gruntwork-io/terraform-aws-asg.git//modules/asg-instance-refresh?ref=v0.21.19"
source = "git::[email protected]:gruntwork-io/terraform-aws-asg.git//modules/asg-instance-refresh?ref=v1.0.0"
}

inputs = {
Expand Down Expand Up @@ -651,11 +651,11 @@ A maximum duration that Terraform should wait for the EC2 Instances to be health
<!-- ##DOCS-SOURCER-START
{
"originalSources": [
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.19/modules/asg-instance-refresh/readme.md",
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.19/modules/asg-instance-refresh/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.19/modules/asg-instance-refresh/outputs.tf"
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v1.0.0/modules/asg-instance-refresh/readme.md",
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v1.0.0/modules/asg-instance-refresh/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v1.0.0/modules/asg-instance-refresh/outputs.tf"
],
"sourcePlugin": "module-catalog-api",
"hash": "90bf32464f2bb1367b2ec6327309dc38"
"hash": "de02d2b6b1afcb06aec9d9702ddf44bc"
}
##DOCS-SOURCER-END -->
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx';
import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx';
import { ModuleUsage } from "../../../../../src/components/ModuleUsage";

<VersionBadge repoTitle="Auto Scaling Group Modules" version="0.21.19" lastModifiedVersion="0.21.17"/>
<VersionBadge repoTitle="Auto Scaling Group Modules" version="1.0.0" lastModifiedVersion="0.21.17"/>

# Auto Scaling Group with Rolling Deployment Module

<a href="https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.19/modules/asg-rolling-deploy" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
<a href="https://github.com/gruntwork-io/terraform-aws-asg/tree/v1.0.0/modules/asg-rolling-deploy" className="link-button" title="View the source code for this module in GitHub.">View Source</a>

<a href="https://github.com/gruntwork-io/terraform-aws-asg/releases/tag/v0.21.17" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>

Expand Down Expand Up @@ -56,7 +56,7 @@ update your launch templates (e.g. by specifying a new AMI to deploy), Terraform
Note that if all we did was use `create_before_destroy`, on each redeploy, our ASG would reset to its hard-coded
`desired_capacity`, losing the capacity changes from auto scaling policies. We solve this problem by using an
[external data source](https://www.terraform.io/docs/providers/external/data_source.html) that runs the Python script
[get-desired-capacity.py](https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.19/modules/asg-rolling-deploy/describe-autoscaling-group/get-desired-capacity.py) to fetch the latest value of the
[get-desired-capacity.py](https://github.com/gruntwork-io/terraform-aws-asg/tree/v1.0.0/modules/asg-rolling-deploy/describe-autoscaling-group/get-desired-capacity.py) to fetch the latest value of the
`desired_capacity` parameter:

* If the script finds a value from an already-existing ASG, we use it, to ensure that the changes form auto scaling
Expand All @@ -77,7 +77,7 @@ Note that if all we did was use `create_before_destroy`, on each redeploy, our A

module "asg_rolling_deploy" {

source = "git::[email protected]:gruntwork-io/terraform-aws-asg.git//modules/asg-rolling-deploy?ref=v0.21.19"
source = "git::[email protected]:gruntwork-io/terraform-aws-asg.git//modules/asg-rolling-deploy?ref=v1.0.0"

# ----------------------------------------------------------------------------------------------------
# REQUIRED VARIABLES
Expand Down Expand Up @@ -231,7 +231,7 @@ module "asg_rolling_deploy" {
# ------------------------------------------------------------------------------------------------------

terraform {
source = "git::[email protected]:gruntwork-io/terraform-aws-asg.git//modules/asg-rolling-deploy?ref=v0.21.19"
source = "git::[email protected]:gruntwork-io/terraform-aws-asg.git//modules/asg-rolling-deploy?ref=v1.0.0"
}

inputs = {
Expand Down Expand Up @@ -729,11 +729,11 @@ A maximum duration that Terraform should wait for the EC2 Instances to be health
<!-- ##DOCS-SOURCER-START
{
"originalSources": [
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.19/modules/asg-rolling-deploy/readme.md",
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.19/modules/asg-rolling-deploy/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.19/modules/asg-rolling-deploy/outputs.tf"
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v1.0.0/modules/asg-rolling-deploy/readme.md",
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v1.0.0/modules/asg-rolling-deploy/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v1.0.0/modules/asg-rolling-deploy/outputs.tf"
],
"sourcePlugin": "module-catalog-api",
"hash": "6d256db45cd6ffbbf7b0dad3169d3b19"
"hash": "3f68c5ebf1b889fe60dddd0b9c85a6ad"
}
##DOCS-SOURCER-END -->
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx';
import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx';
import { ModuleUsage } from "../../../../../src/components/ModuleUsage";

<VersionBadge repoTitle="Auto Scaling Group Modules" version="0.21.19" lastModifiedVersion="0.21.14"/>
<VersionBadge repoTitle="Auto Scaling Group Modules" version="1.0.0" lastModifiedVersion="0.21.14"/>

# Server Group Module

<a href="https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.19/modules/server-group" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
<a href="https://github.com/gruntwork-io/terraform-aws-asg/tree/v1.0.0/modules/server-group" className="link-button" title="View the source code for this module in GitHub.">View Source</a>

<a href="https://github.com/gruntwork-io/terraform-aws-asg/releases/tag/v0.21.14" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>

Expand All @@ -37,7 +37,7 @@ Scaling Group (ASG).

## Quick start

Check out the [server-group examples](https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.19/examples/server-group) for sample code that demonstrates how to use this module.
Check out the [server-group examples](https://github.com/gruntwork-io/terraform-aws-asg/tree/v1.0.0/examples/server-group) for sample code that demonstrates how to use this module.

## Background

Expand All @@ -50,7 +50,7 @@ Check out the [server-group examples](https://github.com/gruntwork-io/terraform-
The first question you may ask is, how is this different than an [Auto Scaling Group
(ASG)](http://docs.aws.amazon.com/autoscaling/latest/userguide/AutoScalingGroup.html)? While an ASG does allow you to
run a cluster of servers, automaticaly replace failed servers, and do zero-downtime deployment (see the
[asg-rolling-deploy module](https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.19/modules/asg-rolling-deploy)), attaching ENIs and EBS Volumes to servers in an ASG is very
[asg-rolling-deploy module](https://github.com/gruntwork-io/terraform-aws-asg/tree/v1.0.0/modules/asg-rolling-deploy)), attaching ENIs and EBS Volumes to servers in an ASG is very
tricky:

1. Using ENIs and EBS Volumes with ASGs is not natively supported by Terraform. The
Expand Down Expand Up @@ -87,7 +87,7 @@ The solution used in this module is to:

The server-group module will perform a zero-downtime, rolling deployment every time you make a change to the code and
run `terraform apply`. This deployment process is implemented in a Python script called
[rolling_deployment.py](https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.19/modules/server-group/rolling-deploy/rolling_deployment.py) which runs in a [local-exec
[rolling_deployment.py](https://github.com/gruntwork-io/terraform-aws-asg/tree/v1.0.0/modules/server-group/rolling-deploy/rolling_deployment.py) which runs in a [local-exec
provisioner](https://www.terraform.io/docs/provisioners/local-exec.html).

Here is how it works:
Expand Down Expand Up @@ -147,7 +147,7 @@ module in your Terraform code:

module "server_group" {

source = "git::[email protected]:gruntwork-io/terraform-aws-asg.git//modules/server-group?ref=v0.21.19"
source = "git::[email protected]:gruntwork-io/terraform-aws-asg.git//modules/server-group?ref=v1.0.0"

# ----------------------------------------------------------------------------------------------------
# REQUIRED VARIABLES
Expand Down Expand Up @@ -466,7 +466,7 @@ module "server_group" {
# ------------------------------------------------------------------------------------------------------

terraform {
source = "git::[email protected]:gruntwork-io/terraform-aws-asg.git//modules/server-group?ref=v0.21.19"
source = "git::[email protected]:gruntwork-io/terraform-aws-asg.git//modules/server-group?ref=v1.0.0"
}

inputs = {
Expand Down Expand Up @@ -1445,11 +1445,11 @@ Other modules can depend on this variable to ensure those modules only deploy af
<!-- ##DOCS-SOURCER-START
{
"originalSources": [
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.19/modules/server-group/readme.md",
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.19/modules/server-group/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.19/modules/server-group/outputs.tf"
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v1.0.0/modules/server-group/readme.md",
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v1.0.0/modules/server-group/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v1.0.0/modules/server-group/outputs.tf"
],
"sourcePlugin": "module-catalog-api",
"hash": "b139c8db34f0959cecb47834183a857b"
"hash": "3c9f07cae1f9f0606d154cb93ccdee69"
}
##DOCS-SOURCER-END -->