Skip to content

Commit cf4b006

Browse files
gruntwork-cigruntwork-cioredavids
authored
Update Gruntwork Releases as of 2024-08-31 (#1956)
* Update Gruntwork releases as of 2024-08-31 * Fix build with rerun of docs-sourcer with fixes locally * Update codeowners --------- Co-authored-by: gruntwork-ci <[email protected]> Co-authored-by: Oreoluwa Agunbiade <[email protected]>
1 parent bbec242 commit cf4b006

File tree

8 files changed

+1942
-830
lines changed

8 files changed

+1942
-830
lines changed

Diff for: CODEOWNERS

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @eak12913 @ebeneliason @oredavids
1+
@ebeneliason @oredavids @yhakbar @Resonance1584

Diff for: docs/guides/stay-up-to-date/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import CardGroup from "/src/components/CardGroup"
1616

1717
<CardGroup cols={1} gap="1rem" stacked equalHeightRows={false} commonCardProps={{padding: "1.25rem"}}>
1818

19+
<Card title="Update to 2024-08" href="/guides/stay-up-to-date/releases/2024-08" />
1920
<Card title="Update to 2024-07" href="/guides/stay-up-to-date/releases/2024-07" />
2021
<Card title="Update to 2024-06" href="/guides/stay-up-to-date/releases/2024-06" />
2122
<Card title="Update to 2024-05" href="/guides/stay-up-to-date/releases/2024-05" />
@@ -30,7 +31,6 @@ import CardGroup from "/src/components/CardGroup"
3031
<Card title="Update to 2023-08" href="/guides/stay-up-to-date/releases/2023-08" />
3132
<Card title="Update to 2023-07" href="/guides/stay-up-to-date/releases/2023-07" />
3233
<Card title="Update to 2023-06" href="/guides/stay-up-to-date/releases/2023-06" />
33-
<Card title="Update to 2023-05" href="/guides/stay-up-to-date/releases/2023-05" />
3434
<Card title="See older releases" href="/guides/stay-up-to-date/releases" />
3535

3636
</CardGroup>
@@ -114,6 +114,6 @@ href="/guides/stay-up-to-date/cis/cis-1.5.0"
114114
<!-- ##DOCS-SOURCER-START
115115
{
116116
"sourcePlugin": "releases",
117-
"hash": "697d8d02e39226a7e8d54eb26e0f8e43"
117+
"hash": "7168545e37e8621a982f5c8b64742df6"
118118
}
119119
##DOCS-SOURCER-END -->

Diff for: docs/guides/stay-up-to-date/releases/2016-08/index.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Here are the repos that were updated:
7474

7575
<div style={{"overflow":"hidden","textOverflow":"ellipsis","display":"-webkit-box","WebkitLineClamp":10,"lineClamp":10,"WebkitBoxOrient":"vertical"}}>
7676

77-
- The script `configure-environment-for-gruntwork-module` now optionally installs [Terragrunt](https://github.com/gruntwork-io/terragrunt). In addition, `terraform`, `terragrunt`, `packer`, and `glide` are now automatically placed in the system `PATH`.
77+
- The script `configure-environment-for-gruntwork-module` now optionally installs [Terragrunt](https://github.com/gruntwork-io/terragrunt). In addition, `terraform`, `terragrunt`, `packer`, and `glide` are now automatically placed in the system `PATH`.
7878

7979

8080
</div>
@@ -156,42 +156,42 @@ Here are the repos that were updated:
156156

157157
<div style={{"overflow":"hidden","textOverflow":"ellipsis","display":"-webkit-box","WebkitLineClamp":10,"lineClamp":10,"WebkitBoxOrient":"vertical"}}>
158158

159-
160-
BREAKING CHANGE: Upgrade module parameters to take advantage of the new data types introduced in Terraform 0.7.x: list and map. As a result of this change, this release is NOT backwards-compatible with Terraform 0.6.x.
159+
160+
BREAKING CHANGE: Upgrade module parameters to take advantage of the new data types introduced in Terraform 0.7.x: list and map. As a result of this change, this release is NOT backwards-compatible with Terraform 0.6.x.
161161

162162
- All VPC output variables that used to return comma-separated strings now return proper lists (e.g. `public_subnet_cidr_blocks`, `private_app_subnet_ids`, `private_persistence_route_table_ids`, etc).
163-
- Similarly, all VPC input variables that used to look for a comma-separated string now look for a proper list as well (e.g. `public_subnet_ids`, `private_app_subnet_cidr_blocks`).
163+
- Similarly, all VPC input variables that used to look for a comma-separated string now look for a proper list as well (e.g. `public_subnet_ids`, `private_app_subnet_cidr_blocks`).
164164
- The VPC modules no longer take `aws_availability_zones` as an input variable. They now determine this using the [aws_availability_zones data source](https://www.terraform.io/docs/providers/aws/d/availability_zones.html) instead. Unfortunately, due to a [limitation in Terraform](https://github.com/hashicorp/terraform/issues/3888), we cannot automatically tell how many AZs are available, so you must specify the number using the `num_availability_zones` variable.
165-
- The Availability Zones output is now called `availability_zones` instead of `aws_ availability_zones`.
165+
- The Availability Zones output is now called `availability_zones` instead of `aws_ availability_zones`.
166166

167167

168168
- `vars.tf`:
169-
- [Example diff](https://github.com/gruntwork-io/module-vpc/compare/c83c30f998f8486537e7308dcdfbcd5cdf34bffa...master?diff=unified&amp;name=master#diff-14c7cc73490c3d2d8347d14cb8a44729) and
170-
- Remove the `aws_availability_zones` variable.
169+
- [Example diff](https://github.com/gruntwork-io/module-vpc/compare/c83c30f998f8486537e7308dcdfbcd5cdf34bffa...master?diff=unified&amp;name=master#diff-14c7cc73490c3d2d8347d14cb8a44729) and
170+
- Remove the `aws_availability_zones` variable.
171171
- Add a variable called `num_availability_zones`. This represents the number of availability zones usable by this AWS account for the current AWS region. Set its `default` value to 2, 3, or 4, depending on your region.
172172
- `main.tf`
173173
- [Example diff](https://github.com/gruntwork-io/module-vpc/compare/c83c30f998f8486537e7308dcdfbcd5cdf34bffa...master?diff=unified&amp;name=master#diff-8140c347465c3fb50113f34a03f9c0d1) (ignore the `user_data` stuff)
174174
- Update the `ref` of the `vpc-mgmt` and `vpc-mgmt-network-acls` URLs to `0.1.0`.
175175
- In the `mgmt_vpc` module, instead of setting `aws_availability_zones = &quot;$&#x7B;var.aws_availability_zones&#x7D;&quot;`, set `num_availability_zones = &quot;$&#x7B;var.num_availability_zones&#x7D;&quot;`.
176-
- In the `mgmt_vpc_network_acls` module, instead of setting `num_subnets = &quot;$&#x7B;length(split(&quot;,&quot;, var.aws_availability_zones))&#x7D;&quot;`, set `num_subnets = &quot;$&#x7B;var.num_availability_zones&#x7D;&quot;`.
176+
- In the `mgmt_vpc_network_acls` module, instead of setting `num_subnets = &quot;$&#x7B;length(split(&quot;,&quot;, var.aws_availability_zones))&#x7D;&quot;`, set `num_subnets = &quot;$&#x7B;var.num_availability_zones&#x7D;&quot;`.
177177
- In the `mgmt_vpc_network_acls` module, if you don&apos;t have it already, set a new parameter: `vpc_ready = &quot;$&#x7B;module.mgmt_vpc.vpc_ready&#x7D;&quot;`.
178178
- Deploy:
179179
- Run `terragrunt get -update`
180180
- Run `terragrunt plan`
181181
- You may see a few Network ACLs being created and destroyed. That&apos;s OK.
182-
- You should NOT see the VPC, any route tables, or any subnets being created or destroyed. If you do, let us know (mailto:[email protected])!
182+
- You should NOT see the VPC, any route tables, or any subnets being created or destroyed. If you do, let us know ([email protected])!
183183
- If everything looks OK, run `terragrunt apply`.
184184

185185

186186
These use the exact same upgrade process as the mgmt VPC, except there are some additional steps for the peering connection:
187187
- `main.tf`:
188188
- [Example diff](https://github.com/gruntwork-io/module-vpc/compare/c83c30f998f8486537e7308dcdfbcd5cdf34bffa...master?diff=unified&amp;name=master#diff-3c06616a9c2b49d630e46d8439b63a8c) (ignore the `user_data` stuff)
189189
- Update the `ref` of the `vpc-peering` URL to `0.1.0`.
190-
- Instead of manually concatenating values in a string for the `origin_vpc_route_table_ids` and `destination_vpc_route_table_ids` parameters, use the [concat](https://www.terraform.io/docs/configuration/interpolation.html#concat_list1_list2_) and [list](https://www.terraform.io/docs/configuration/interpolation.html#list_items_) functions. You should get something like `origin_vpc_route_table_ids = &quot;$&#x7B;concat(data.terraform_remote_state.mgmt_vpc.private_subnet_route_table_ids, list(data.terraform_remote_state.mgmt_vpc.public_subnet_route_table_id))&#x7D;&quot;`.
190+
- Instead of manually concatenating values in a string for the `origin_vpc_route_table_ids` and `destination_vpc_route_table_ids` parameters, use the [concat](https://www.terraform.io/docs/configuration/interpolation.html#concat_list1_list2_) and [list](https://www.terraform.io/docs/configuration/interpolation.html#list_items_) functions. You should get something like `origin_vpc_route_table_ids = &quot;$&#x7B;concat(data.terraform_remote_state.mgmt_vpc.private_subnet_route_table_ids, list(data.terraform_remote_state.mgmt_vpc.public_subnet_route_table_id))&#x7D;&quot;`.
191191
- Replace `length(split(&quot;,&quot;, var.aws_availability_zones))` in the calculation of the `num_origin_vpc_route_tables` and `num_destination_vpc_route_tables` parameters with `var.num_availability_zones`. The other parts of the calculation (e.g. the +1 and the *2) stay the same.
192192
- Deploy:
193193
- Same process as the mgmt VPC above.
194-
- Other than minor Network ACL changes, you should not see anything being destroyed. If you do, this could lead to outage, so please notify us (mailto:[email protected])!
194+
- Other than minor Network ACL changes, you should not see anything being destroyed. If you do, this could lead to outage, so please notify us ([email protected])!
195195

196196

197197
You can update other variables and outputs to lists (e.g. `var.aws_account_ids`), get rid of unnecessary `split` and `join` usage, and upgrade `terraform_remote_state` usage to data sources. See the [Terraform 0.7 upgrade guide](https://www.terraform.io/upgrade-guides/0-7.html) for details.

Diff for: docs/guides/stay-up-to-date/releases/2023-10/index.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ Here are the repos that were updated:
5050

5151
Patcher includes a revised interactive mode. The interactive mode can be used to update dependencies individually.
5252

53-
&lt;img width=&quot;1827&quot; alt=&quot;Screenshot 2023-10-27 at 4 05 23 pm&quot; src=&quot;https://github.com/gruntwork-io/patcher/assets/178939/84abdbec-16af-4d5c-990d-bf139a7e5ece&quot;&gt;
5453

5554
* Patcher now applies patches in the interactive mode
5655
* Documentation improvements
@@ -1397,6 +1396,6 @@ Initial release of devops-foundations templates
13971396
<!-- ##DOCS-SOURCER-START
13981397
{
13991398
"sourcePlugin": "releases",
1400-
"hash": "051366170d03ec77fd651775b2987234"
1399+
"hash": "6f4844a4fa3ace04104f08214022e416"
14011400
}
14021401
##DOCS-SOURCER-END -->

Diff for: docs/guides/stay-up-to-date/releases/2024-04/index.md

+23-1
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,28 @@ https://github.com/gruntwork-io/terraform-aws-architecture-catalog/pull/1047/fil
465465
## terraform-aws-asg
466466

467467

468+
### [v0.21.14](https://github.com/gruntwork-io/terraform-aws-asg/releases/tag/v0.21.14)
469+
470+
<p style={{marginTop: "-20px", marginBottom: "10px"}}>
471+
<small>Published: 4/2/2024 | Modules affected: server-group | <a href="https://github.com/gruntwork-io/terraform-aws-asg/releases/tag/v0.21.14">Release notes</a></small>
472+
</p>
473+
474+
<div style={{"overflow":"hidden","textOverflow":"ellipsis","display":"-webkit-box","WebkitLineClamp":10,"lineClamp":10,"WebkitBoxOrient":"vertical"}}>
475+
476+
477+
- `server-group`
478+
479+
480+
- Expose `max_session_duration` for server-group vended role
481+
482+
483+
- https://github.com/gruntwork-io/terraform-aws-asg/pull/211
484+
485+
486+
487+
</div>
488+
489+
468490
### [v0.21.15](https://github.com/gruntwork-io/terraform-aws-asg/releases/tag/v0.21.15)
469491

470492
<p style={{marginTop: "-20px", marginBottom: "10px"}}>
@@ -1525,6 +1547,6 @@ Default EKS version is 1.29 with this release! Please see the links below for fu
15251547
<!-- ##DOCS-SOURCER-START
15261548
{
15271549
"sourcePlugin": "releases",
1528-
"hash": "5fea04506d90754434253f158cd59601"
1550+
"hash": "7780b1bc4b45aae60c5eb32b6a6347ac"
15291551
}
15301552
##DOCS-SOURCER-END -->

0 commit comments

Comments
 (0)