Skip to content

Commit 3e50ca0

Browse files
Updated with the [latest changes](https://github.com/gruntwork-io/terraform-aws-asg/releases/tag/v0.21.9) from the terraform-aws-asg@v0.21.9 source branch. (#1059)
Co-authored-by: docs-sourcer[bot] <99042413+docs-sourcer[bot]@users.noreply.github.com>
1 parent e1a6cf5 commit 3e50ca0

File tree

3 files changed

+31
-31
lines changed

3 files changed

+31
-31
lines changed

docs/reference/modules/terraform-aws-asg/asg-instance-refresh/asg-instance-refresh.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx';
99
import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx';
1010
import { ModuleUsage } from "../../../../../src/components/ModuleUsage";
1111

12-
<VersionBadge repoTitle="Auto Scaling Group Modules" version="0.21.8" lastModifiedVersion="0.21.7"/>
12+
<VersionBadge repoTitle="Auto Scaling Group Modules" version="0.21.9" lastModifiedVersion="0.21.9"/>
1313

1414
# Auto Scaling Group Module with Instance Refresh
1515

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

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

2020
This Terraform Module creates an Auto Scaling Group (ASG) that can do a zero-downtime rolling deployment. That means every time you update your app (e.g. publish a new AMI), all you have to do is run `terraform apply` and the new version of your app will automatically roll out across your Auto Scaling Group. Note that this module *only* creates the ASG and it's up to you to create all the other related resources, such as the launch configuration, ELB, and security groups.
2121

@@ -89,7 +89,7 @@ The Terraform [instance_refresh](https://registry.terraform.io/providers/hashico
8989
9090
module "asg_instance_refresh" {
9191
92-
source = "git::git@github.com:gruntwork-io/terraform-aws-asg.git//modules/asg-instance-refresh?ref=v0.21.8"
92+
source = "git::git@github.com:gruntwork-io/terraform-aws-asg.git//modules/asg-instance-refresh?ref=v0.21.9"
9393
9494
# ----------------------------------------------------------------------------------------------------
9595
# REQUIRED VARIABLES
@@ -220,7 +220,7 @@ module "asg_instance_refresh" {
220220
# ------------------------------------------------------------------------------------------------------
221221
222222
terraform {
223-
source = "git::git@github.com:gruntwork-io/terraform-aws-asg.git//modules/asg-instance-refresh?ref=v0.21.8"
223+
source = "git::git@github.com:gruntwork-io/terraform-aws-asg.git//modules/asg-instance-refresh?ref=v0.21.9"
224224
}
225225
226226
inputs = {
@@ -652,11 +652,11 @@ A maximum duration that Terraform should wait for the EC2 Instances to be health
652652
<!-- ##DOCS-SOURCER-START
653653
{
654654
"originalSources": [
655-
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.8/modules/asg-instance-refresh/readme.md",
656-
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.8/modules/asg-instance-refresh/variables.tf",
657-
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.8/modules/asg-instance-refresh/outputs.tf"
655+
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.9/modules/asg-instance-refresh/readme.md",
656+
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.9/modules/asg-instance-refresh/variables.tf",
657+
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.9/modules/asg-instance-refresh/outputs.tf"
658658
],
659659
"sourcePlugin": "module-catalog-api",
660-
"hash": "0185985a4b4bfcc06458ff2f01a2955d"
660+
"hash": "f8a907ade44130e5d90e532d9abe3aef"
661661
}
662662
##DOCS-SOURCER-END -->

docs/reference/modules/terraform-aws-asg/asg-rolling-deploy/asg-rolling-deploy.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx';
99
import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx';
1010
import { ModuleUsage } from "../../../../../src/components/ModuleUsage";
1111

12-
<VersionBadge repoTitle="Auto Scaling Group Modules" version="0.21.8" lastModifiedVersion="0.21.7"/>
12+
<VersionBadge repoTitle="Auto Scaling Group Modules" version="0.21.9" lastModifiedVersion="0.21.9"/>
1313

1414
# Auto Scaling Group with Rolling Deployment Module
1515

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

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

2020
This Terraform Module creates an Auto Scaling Group (ASG) that can do a zero-downtime rolling deployment. That means
2121
every time you update your app (e.g. publish a new AMI), all you have to do is run `terraform apply` and the new
@@ -56,7 +56,7 @@ update your launch templates (e.g. by specifying a new AMI to deploy), Terraform
5656
Note that if all we did was use `create_before_destroy`, on each redeploy, our ASG would reset to its hard-coded
5757
`desired_capacity`, losing the capacity changes from auto scaling policies. We solve this problem by using an
5858
[external data source](https://www.terraform.io/docs/providers/external/data_source.html) that runs the Python script
59-
[get-desired-capacity.py](https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.8/modules/asg-rolling-deploy/describe-autoscaling-group/get-desired-capacity.py) to fetch the latest value of the
59+
[get-desired-capacity.py](https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.9/modules/asg-rolling-deploy/describe-autoscaling-group/get-desired-capacity.py) to fetch the latest value of the
6060
`desired_capacity` parameter:
6161

6262
* If the script finds a value from an already-existing ASG, we use it, to ensure that the changes form auto scaling
@@ -77,7 +77,7 @@ Note that if all we did was use `create_before_destroy`, on each redeploy, our A
7777
7878
module "asg_rolling_deploy" {
7979
80-
source = "git::git@github.com:gruntwork-io/terraform-aws-asg.git//modules/asg-rolling-deploy?ref=v0.21.8"
80+
source = "git::git@github.com:gruntwork-io/terraform-aws-asg.git//modules/asg-rolling-deploy?ref=v0.21.9"
8181
8282
# ----------------------------------------------------------------------------------------------------
8383
# REQUIRED VARIABLES
@@ -188,7 +188,7 @@ module "asg_rolling_deploy" {
188188
# ------------------------------------------------------------------------------------------------------
189189
190190
terraform {
191-
source = "git::git@github.com:gruntwork-io/terraform-aws-asg.git//modules/asg-rolling-deploy?ref=v0.21.8"
191+
source = "git::git@github.com:gruntwork-io/terraform-aws-asg.git//modules/asg-rolling-deploy?ref=v0.21.9"
192192
}
193193
194194
inputs = {
@@ -549,11 +549,11 @@ A maximum duration that Terraform should wait for the EC2 Instances to be health
549549
<!-- ##DOCS-SOURCER-START
550550
{
551551
"originalSources": [
552-
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.8/modules/asg-rolling-deploy/readme.md",
553-
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.8/modules/asg-rolling-deploy/variables.tf",
554-
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.8/modules/asg-rolling-deploy/outputs.tf"
552+
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.9/modules/asg-rolling-deploy/readme.md",
553+
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.9/modules/asg-rolling-deploy/variables.tf",
554+
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.9/modules/asg-rolling-deploy/outputs.tf"
555555
],
556556
"sourcePlugin": "module-catalog-api",
557-
"hash": "f1541568e906accbcf8ba133e88488c0"
557+
"hash": "56fe84d85c4684019097fce869a74abd"
558558
}
559559
##DOCS-SOURCER-END -->

docs/reference/modules/terraform-aws-asg/server-group/server-group.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx';
99
import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx';
1010
import { ModuleUsage } from "../../../../../src/components/ModuleUsage";
1111

12-
<VersionBadge repoTitle="Auto Scaling Group Modules" version="0.21.8" lastModifiedVersion="0.21.8"/>
12+
<VersionBadge repoTitle="Auto Scaling Group Modules" version="0.21.9" lastModifiedVersion="0.21.9"/>
1313

1414
# Server Group Module
1515

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

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

2020
This module allows you to run a fixed-size cluster of servers that can:
2121

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

3838
## Quick start
3939

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

4242
## Background
4343

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

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

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

9393
Here is how it works:
@@ -147,7 +147,7 @@ module in your Terraform code:
147147
148148
module "server_group" {
149149
150-
source = "git::git@github.com:gruntwork-io/terraform-aws-asg.git//modules/server-group?ref=v0.21.8"
150+
source = "git::git@github.com:gruntwork-io/terraform-aws-asg.git//modules/server-group?ref=v0.21.9"
151151
152152
# ----------------------------------------------------------------------------------------------------
153153
# REQUIRED VARIABLES
@@ -443,7 +443,7 @@ module "server_group" {
443443
# ------------------------------------------------------------------------------------------------------
444444
445445
terraform {
446-
source = "git::git@github.com:gruntwork-io/terraform-aws-asg.git//modules/server-group?ref=v0.21.8"
446+
source = "git::git@github.com:gruntwork-io/terraform-aws-asg.git//modules/server-group?ref=v0.21.9"
447447
}
448448
449449
inputs = {
@@ -1346,11 +1346,11 @@ Other modules can depend on this variable to ensure those modules only deploy af
13461346
<!-- ##DOCS-SOURCER-START
13471347
{
13481348
"originalSources": [
1349-
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.8/modules/server-group/readme.md",
1350-
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.8/modules/server-group/variables.tf",
1351-
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.8/modules/server-group/outputs.tf"
1349+
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.9/modules/server-group/readme.md",
1350+
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.9/modules/server-group/variables.tf",
1351+
"https://github.com/gruntwork-io/terraform-aws-asg/tree/v0.21.9/modules/server-group/outputs.tf"
13521352
],
13531353
"sourcePlugin": "module-catalog-api",
1354-
"hash": "ed3e873f097ab76a2a389a95941ed854"
1354+
"hash": "ff20d9492aaf0a8be2564530308be733"
13551355
}
13561356
##DOCS-SOURCER-END -->

0 commit comments

Comments
 (0)