Skip to content

Commit 1af6705

Browse files
authored
Feat(CORE-572): Add last modified tag to all modules (#697)
* feat: Add last modified tag to all modules
1 parent 8d6806d commit 1af6705

File tree

254 files changed

+6461
-1040
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

254 files changed

+6461
-1040
lines changed

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

Lines changed: 3 additions & 3 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.1" />
12+
<VersionBadge repoTitle="Auto Scaling Group Modules" version="0.21.1" lastModifiedVersion="0.21.1"/>
1313

1414
# Auto Scaling Group Module with Instance Refresh
1515

1616
<a href="https://github.com/gruntwork-io/terraform-aws-asg/tree/main/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?q=" className="link-button" title="Release notes for only the service catalog versions which impacted this service.">Release Notes</a>
18+
<a href="https://github.com/gruntwork-io/terraform-aws-asg/releases/tag/v0.21.1" 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

@@ -518,6 +518,6 @@ A maximum duration that Terraform should wait for the EC2 Instances to be health
518518
"https://github.com/gruntwork-io/terraform-aws-asg/tree/main/modules/asg-instance-refresh/outputs.tf"
519519
],
520520
"sourcePlugin": "module-catalog-api",
521-
"hash": "4c0a0786d52bcbf6d8b38fab2ed1e7ed"
521+
"hash": "7fa4a1f291b7f29da29aa681c8180bd2"
522522
}
523523
##DOCS-SOURCER-END -->

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

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,26 @@ 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.1" />
12+
<VersionBadge repoTitle="Auto Scaling Group Modules" version="0.21.1" lastModifiedVersion="0.21.0"/>
1313

1414
# Auto Scaling Group with Rolling Deployment Module
1515

1616
<a href="https://github.com/gruntwork-io/terraform-aws-asg/tree/main/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?q=" className="link-button" title="Release notes for only the service catalog versions which impacted this service.">Release Notes</a>
18+
<a href="https://github.com/gruntwork-io/terraform-aws-asg/releases/tag/v0.21.0" 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
2222
version of your app will automatically roll out across your Auto Scaling Group. Note that this module *only*
2323
creates the ASG and it's up to you to create all the other related resources, such as the launch template, ELB,
2424
and security groups.
2525

26-
\*\* Note: This module used to use Launch configurations but has been updated to use Launch templates. This has been
27-
[recommended by AWS for some
28-
time](https://aws.amazon.com/blogs/compute/amazon-ec2-auto-scaling-will-no-longer-add-support-for-new-ec2-features-to-launch-configurations/)
29-
and Launch configurations will finally be deprecated entirely on Dec 31st 2023.
26+
:::note
27+
28+
This module used to use Launch configurations but has been updated to use Launch templates. This has been
29+
[recommended by AWS for some time](https://aws.amazon.com/blogs/compute/amazon-ec2-auto-scaling-will-no-longer-add-support-for-new-ec2-features-to-launch-configurations/) and Launch configurations will finally be deprecated entirely on Dec 31st 2023.
30+
31+
:::
3032

3133
## What's an Auto Scaling Group?
3234

@@ -416,6 +418,6 @@ A maximum duration that Terraform should wait for the EC2 Instances to be health
416418
"https://github.com/gruntwork-io/terraform-aws-asg/tree/main/modules/asg-rolling-deploy/outputs.tf"
417419
],
418420
"sourcePlugin": "module-catalog-api",
419-
"hash": "a82e2194ca664d83b7adaeecc69c9e9c"
421+
"hash": "d2e885eb4a2f8994c9cebfcf23158d54"
420422
}
421423
##DOCS-SOURCER-END -->

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

Lines changed: 16 additions & 14 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.1" />
12+
<VersionBadge repoTitle="Auto Scaling Group Modules" version="0.21.1" lastModifiedVersion="0.20.0"/>
1313

1414
# Server Group Module
1515

1616
<a href="https://github.com/gruntwork-io/terraform-aws-asg/tree/main/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?q=" className="link-button" title="Release notes for only the service catalog versions which impacted this service.">Release Notes</a>
18+
<a href="https://github.com/gruntwork-io/terraform-aws-asg/releases/tag/v0.20.0" 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

@@ -156,9 +156,6 @@ module "server_group" {
156156
# ami-abcd1234).
157157
ami_id = <INPUT REQUIRED>
158158
159-
# The AWS region to deploy to (e.g. us-east-1).
160-
aws_region = <INPUT REQUIRED>
161-
162159
# The type of EC2 Instance to run (e.g. t3.micro).
163160
instance_type = <INPUT REQUIRED>
164161
@@ -201,6 +198,10 @@ module "server_group" {
201198
# Set to true to associate a public IP address with each server.
202199
associate_public_ip_address = false
203200
201+
# Specify the AWS region to deploy to (e.g. us-east-1) instead of inferring it
202+
# from the provider.
203+
aws_region = ""
204+
204205
# The name of the device to mount.
205206
block_device_name = "/dev/xvdcz"
206207
@@ -419,14 +420,6 @@ The ID of the Amazon Machine Image (AMI) to run on each server (e.g., ami-abcd12
419420
</HclListItemDescription>
420421
</HclListItem>
421422

422-
<HclListItem name="aws_region" requirement="required" type="string">
423-
<HclListItemDescription>
424-
425-
The AWS region to deploy to (e.g. us-east-1).
426-
427-
</HclListItemDescription>
428-
</HclListItem>
429-
430423
<HclListItem name="instance_type" requirement="required" type="string">
431424
<HclListItemDescription>
432425

@@ -514,6 +507,15 @@ Set to true to associate a public IP address with each server.
514507
<HclListItemDefaultValue defaultValue="false"/>
515508
</HclListItem>
516509

510+
<HclListItem name="aws_region" requirement="optional" type="string">
511+
<HclListItemDescription>
512+
513+
Specify the AWS region to deploy to (e.g. us-east-1) instead of inferring it from the provider.
514+
515+
</HclListItemDescription>
516+
<HclListItemDefaultValue defaultValue="&quot;&quot;"/>
517+
</HclListItem>
518+
517519
<HclListItem name="block_device_name" requirement="optional" type="string">
518520
<HclListItemDescription>
519521

@@ -973,6 +975,6 @@ Other modules can depend on this variable to ensure those modules only deploy af
973975
"https://github.com/gruntwork-io/terraform-aws-asg/tree/main/modules/server-group/outputs.tf"
974976
],
975977
"sourcePlugin": "module-catalog-api",
976-
"hash": "637e052aa3eb3a32cc4755cedf39c6e6"
978+
"hash": "a021f2466531d1f9de97bca0163533f7"
977979
}
978980
##DOCS-SOURCER-END -->

docs/reference/modules/terraform-aws-cache/memcached/memcached.md

Lines changed: 4 additions & 4 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="Cache Modules" version="0.18.2" />
12+
<VersionBadge repoTitle="Cache Modules" version="0.19.0" lastModifiedVersion="0.19.0"/>
1313

1414
# Memcached Module
1515

1616
<a href="https://github.com/gruntwork-io/terraform-aws-cache/tree/main/modules/memcached" 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-cache/releases?q=" className="link-button" title="Release notes for only the service catalog versions which impacted this service.">Release Notes</a>
18+
<a href="https://github.com/gruntwork-io/terraform-aws-cache/releases/tag/v0.19.0" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>
1919

2020
This module creates an ElastiCache cluster that runs [Memcached](https://memcached.org/).
2121

@@ -46,7 +46,7 @@ For more info, see [Scaling Memcached](http://docs.aws.amazon.com/AmazonElastiCa
4646
4747
module "memcached" {
4848
49-
source = "git::[email protected]:gruntwork-io/terraform-aws-cache.git//modules/memcached?ref=v0.18.2"
49+
source = "git::[email protected]:gruntwork-io/terraform-aws-cache.git//modules/memcached?ref=v0.19.0"
5050
5151
# ----------------------------------------------------------------------------------------------------
5252
# REQUIRED VARIABLES
@@ -295,6 +295,6 @@ A set of tags to set for the ElastiCache Replication Group.
295295
"https://github.com/gruntwork-io/terraform-aws-cache/tree/main/modules/memcached/outputs.tf"
296296
],
297297
"sourcePlugin": "module-catalog-api",
298-
"hash": "7808b10ae7e5eb07e365be6e967d8c4b"
298+
"hash": "c574b229f054c57ad32ebed4bc2b639d"
299299
}
300300
##DOCS-SOURCER-END -->

docs/reference/modules/terraform-aws-cache/redis/redis.md

Lines changed: 52 additions & 8 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="Cache Modules" version="0.18.2" />
12+
<VersionBadge repoTitle="Cache Modules" version="0.19.0" lastModifiedVersion="0.19.0"/>
1313

1414
# Redis Module
1515

1616
<a href="https://github.com/gruntwork-io/terraform-aws-cache/tree/main/modules/redis" 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-cache/releases?q=" className="link-button" title="Release notes for only the service catalog versions which impacted this service.">Release Notes</a>
18+
<a href="https://github.com/gruntwork-io/terraform-aws-cache/releases/tag/v0.19.0" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>
1919

2020
This module creates an ElastiCache cluster that runs [Redis](http://redis.io/).
2121

@@ -47,6 +47,8 @@ Behind the scenes, ElastiCache runs on EC2 Instances located in subnets and prot
4747

4848
* In both "cluster mode enabled" and "cluster mode disabled" deployment models you can still direct reads to any of the **Read Endpoints** of the nodes in the Cluster, however you now risk reading a slightly out-of-date copy of the data in the event that you read from a node before the primary's latest data has synced to it.
4949

50+
* (Optional) It is possible to link a `user_group_id` and provide a list of user_id's to add additional layers of security for your cluster or replication group. Refer to the [ElasticCache RBAC Access](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Clusters.RBAC.html) documentation for further information.
51+
5052
This module outputs [Terraform output variables](https://www.terraform.io/intro/getting-started/outputs.html) that contain the address of the primary endpoint and read endpoints. You can programmatically extract these variables in your Terraform templates and pass them to other resources (e.g. as environment variables in an EC2 Instance) You'll also see the variables at the end of each `terraform apply` call or if you run `terraform output`.
5153

5254
### How do you scale the Redis Cluster?
@@ -96,7 +98,7 @@ For more info on scaling "cluster mode enabled" Redis clusters, see [Scaling Mul
9698
9799
module "redis" {
98100
99-
source = "git::[email protected]:gruntwork-io/terraform-aws-cache.git//modules/redis?ref=v0.18.2"
101+
source = "git::[email protected]:gruntwork-io/terraform-aws-cache.git//modules/redis?ref=v0.19.0"
100102
101103
# ----------------------------------------------------------------------------------------------------
102104
# REQUIRED VARIABLES
@@ -113,7 +115,7 @@ module "redis" {
113115
# greater than 1 for replication_group_size.
114116
enable_multi_az = <INPUT REQUIRED>
115117
116-
# The compute and memory capacity of the nodes (e.g. cache.m3.medium).
118+
# The compute and memory capacity of the nodes (e.g. cache.t3.medium).
117119
instance_type = <INPUT REQUIRED>
118120
119121
# The name used to namespace all resources created by these templates, including
@@ -179,7 +181,9 @@ module "redis" {
179181
180182
# Specifies the number of shards and replicas per shard in the cluster. The list
181183
# should contain a single map with keys 'num_node_groups' and
182-
# 'replicas_per_node_group' set to desired integer values.
184+
# 'replicas_per_node_group' set to desired integer values. You need to set
185+
# `enable_automatic_failover` to true to use this configuration. Only 1
186+
# cluster_mode block is allowed.
183187
cluster_mode = []
184188
185189
# Whether to enable encryption at rest.
@@ -233,6 +237,15 @@ module "redis" {
233237
# A set of tags to set for the ElastiCache Replication Group.
234238
tags = {}
235239
240+
# The group id of the AWS Elasticache group which can be used to provide access to
241+
# a Redis replication group or cluster and allow for RBAC access
242+
user_group_id = null
243+
244+
# This is a list of user IDs that should be added to the group defined in the
245+
# 'user_group_id' variable. This list should always include the 'default' user in
246+
# addition to user Ids
247+
user_ids = []
248+
236249
}
237250
238251
```
@@ -268,7 +281,7 @@ Indicates whether Multi-AZ is enabled. When Multi-AZ is enabled, a read-only rep
268281
<HclListItem name="instance_type" requirement="required" type="string">
269282
<HclListItemDescription>
270283

271-
The compute and memory capacity of the nodes (e.g. cache.m3.medium).
284+
The compute and memory capacity of the nodes (e.g. cache.t3.medium).
272285

273286
</HclListItemDescription>
274287
</HclListItem>
@@ -399,7 +412,7 @@ The name of the aws_elasticache_subnet_group that is created. Defaults to <a hre
399412
<HclListItem name="cluster_mode" requirement="optional" type="list(object(…))">
400413
<HclListItemDescription>
401414

402-
Specifies the number of shards and replicas per shard in the cluster. The list should contain a single map with keys 'num_node_groups' and 'replicas_per_node_group' set to desired integer values.
415+
Specifies the number of shards and replicas per shard in the cluster. The list should contain a single map with keys 'num_node_groups' and 'replicas_per_node_group' set to desired integer values. You need to set `enable_automatic_failover` to true to use this configuration. Only 1 cluster_mode block is allowed.
403416

404417
</HclListItemDescription>
405418
<HclListItemTypeDetails>
@@ -532,6 +545,37 @@ A set of tags to set for the ElastiCache Replication Group.
532545
<HclListItemDefaultValue defaultValue="{}"/>
533546
</HclListItem>
534547

548+
<HclListItem name="user_group_id" requirement="optional" type="string">
549+
<HclListItemDescription>
550+
551+
The group id of the AWS Elasticache group which can be used to provide access to a Redis replication group or cluster and allow for RBAC access
552+
553+
</HclListItemDescription>
554+
<HclListItemDefaultValue defaultValue="null"/>
555+
</HclListItem>
556+
557+
<HclListItem name="user_ids" requirement="optional" type="list(string)">
558+
<HclListItemDescription>
559+
560+
This is a list of user IDs that should be added to the group defined in the 'user_group_id' variable. This list should always include the 'default' user in addition to user Ids
561+
562+
</HclListItemDescription>
563+
<HclListItemDefaultValue defaultValue="[]"/>
564+
<HclGeneralListItem title="More Details">
565+
<details>
566+
567+
568+
```hcl
569+
570+
When a Redis cluster is created, there is always a default user, and that
571+
user always must be added to the group.
572+
573+
```
574+
</details>
575+
576+
</HclGeneralListItem>
577+
</HclListItem>
578+
535579
</TabItem>
536580
<TabItem value="outputs" label="Outputs">
537581

@@ -571,6 +615,6 @@ A set of tags to set for the ElastiCache Replication Group.
571615
"https://github.com/gruntwork-io/terraform-aws-cache/tree/main/modules/redis/outputs.tf"
572616
],
573617
"sourcePlugin": "module-catalog-api",
574-
"hash": "a5703700a3c35fac38fb94a363676202"
618+
"hash": "d28180296e2ee16c7c395ca79826f263"
575619
}
576620
##DOCS-SOURCER-END -->

docs/reference/modules/terraform-aws-ci/aws-helpers/aws-helpers.md

Lines changed: 3 additions & 3 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="CI Modules" version="0.51.1" />
12+
<VersionBadge repoTitle="CI Modules" version="0.51.1" lastModifiedVersion="0.50.11"/>
1313

1414
# AWS Helpers
1515

1616
<a href="https://github.com/gruntwork-io/terraform-aws-ci/tree/main/modules/aws-helpers" 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-ci/releases?q=" className="link-button" title="Release notes for only the service catalog versions which impacted this service.">Release Notes</a>
18+
<a href="https://github.com/gruntwork-io/terraform-aws-ci/releases/tag/v0.50.11" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>
1919

2020
This module contains helper scripts that automate common AWS tasks:
2121

@@ -50,6 +50,6 @@ dependencies:
5050
"https://github.com/gruntwork-io/terraform-aws-ci/tree/main/modules/aws-helpers/outputs.tf"
5151
],
5252
"sourcePlugin": "module-catalog-api",
53-
"hash": "f66c67af92904ffb1abd8d25e869d339"
53+
"hash": "ce1d69afceaef9b7b69dff802a00cc3f"
5454
}
5555
##DOCS-SOURCER-END -->

docs/reference/modules/terraform-aws-ci/build-helpers/build-helpers.md

Lines changed: 3 additions & 3 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="CI Modules" version="0.51.1" />
12+
<VersionBadge repoTitle="CI Modules" version="0.51.1" lastModifiedVersion="0.50.11"/>
1313

1414
# Build Helpers
1515

1616
<a href="https://github.com/gruntwork-io/terraform-aws-ci/tree/main/modules/build-helpers" 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-ci/releases?q=" className="link-button" title="Release notes for only the service catalog versions which impacted this service.">Release Notes</a>
18+
<a href="https://github.com/gruntwork-io/terraform-aws-ci/releases/tag/v0.50.11" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>
1919

2020
This folder contains several helper scripts for automatically building deployable, versioned artifacts of your apps:
2121

@@ -192,6 +192,6 @@ Note that the following conditions must be true in order to use this feature:
192192
"https://github.com/gruntwork-io/terraform-aws-ci/tree/main/modules/build-helpers/outputs.tf"
193193
],
194194
"sourcePlugin": "module-catalog-api",
195-
"hash": "35064cbdd1d3db65af57e344e44b9290"
195+
"hash": "9fff4096e3487ff696a3c937d704244b"
196196
}
197197
##DOCS-SOURCER-END -->

0 commit comments

Comments
 (0)