Skip to content

Commit 81ce5ff

Browse files
Co-authored-by: docs-sourcer[bot] <99042413+docs-sourcer[bot]@users.noreply.github.com>
1 parent b22c59c commit 81ce5ff

File tree

4 files changed

+59
-70
lines changed

4 files changed

+59
-70
lines changed

docs/reference/modules/terraform-aws-load-balancer/acm-tls-certificate/acm-tls-certificate.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ 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="Load Balancer Modules" version="0.29.7" lastModifiedVersion="0.29.7"/>
12+
<VersionBadge repoTitle="Load Balancer Modules" version="0.29.8" lastModifiedVersion="0.29.7"/>
1313

1414
# ACM TLS Certificate
1515

16-
<a href="https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/acm-tls-certificate" 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-load-balancer/tree/v0.29.8/modules/acm-tls-certificate" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
1717

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

@@ -196,7 +196,7 @@ In this example, the `acm-tls-certificates` module will "wait" until your `aws_r
196196
197197
module "acm_tls_certificate" {
198198
199-
source = "git::[email protected]:gruntwork-io/terraform-aws-load-balancer.git//modules/acm-tls-certificate?ref=v0.29.7"
199+
source = "git::[email protected]:gruntwork-io/terraform-aws-load-balancer.git//modules/acm-tls-certificate?ref=v0.29.8"
200200
201201
# ----------------------------------------------------------------------------------------------------
202202
# REQUIRED VARIABLES
@@ -254,7 +254,7 @@ module "acm_tls_certificate" {
254254
# ------------------------------------------------------------------------------------------------------
255255
256256
terraform {
257-
source = "git::[email protected]:gruntwork-io/terraform-aws-load-balancer.git//modules/acm-tls-certificate?ref=v0.29.7"
257+
source = "git::[email protected]:gruntwork-io/terraform-aws-load-balancer.git//modules/acm-tls-certificate?ref=v0.29.8"
258258
}
259259
260260
inputs = {
@@ -485,11 +485,11 @@ Global tags to apply to all ACM certificates issued via this module. These globa
485485
<!-- ##DOCS-SOURCER-START
486486
{
487487
"originalSources": [
488-
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/acm-tls-certificate/readme.md",
489-
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/acm-tls-certificate/variables.tf",
490-
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/acm-tls-certificate/outputs.tf"
488+
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.8/modules/acm-tls-certificate/readme.md",
489+
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.8/modules/acm-tls-certificate/variables.tf",
490+
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.8/modules/acm-tls-certificate/outputs.tf"
491491
],
492492
"sourcePlugin": "module-catalog-api",
493-
"hash": "7ad3ba56608032b454acc5be36eb386f"
493+
"hash": "303ace110e9cffa3d2b42a7d710db2e2"
494494
}
495495
##DOCS-SOURCER-END -->

docs/reference/modules/terraform-aws-load-balancer/alb/alb.md

Lines changed: 37 additions & 48 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="Load Balancer Modules" version="0.29.7" lastModifiedVersion="0.29.7"/>
12+
<VersionBadge repoTitle="Load Balancer Modules" version="0.29.8" lastModifiedVersion="0.29.8"/>
1313

1414
# Application Load Balancer (ALB) Module
1515

16-
<a href="https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/alb" 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-load-balancer/tree/v0.29.8/modules/alb" 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-load-balancer/releases/tag/v0.29.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-load-balancer/releases/tag/v0.29.8" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>
1919

2020
This Terraform Module creates an [Application Load Balancer](http://docs.aws.amazon.com/elasticloadbalancing/latest/application/introduction.html)
2121
that you can use as a load balancer for any [ALB Target Group](http://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html).
@@ -191,7 +191,7 @@ There are two ways for you to override this behavior:
191191
192192
module "alb" {
193193
194-
source = "git::[email protected]:gruntwork-io/terraform-aws-load-balancer.git//modules/alb?ref=v0.29.7"
194+
source = "git::[email protected]:gruntwork-io/terraform-aws-load-balancer.git//modules/alb?ref=v0.29.8"
195195
196196
# ----------------------------------------------------------------------------------------------------
197197
# REQUIRED VARIABLES
@@ -282,17 +282,11 @@ module "alb" {
282282
# the tag name and the value is the tag value.
283283
custom_tags = {}
284284
285-
# If a request to the load balancer does not match any of your listener rules,
286-
# the default action will return a fixed response with this body.
287-
default_action_body = null
288-
289-
# If a request to the load balancer does not match any of your listener rules,
290-
# the default action will return a fixed response with this content type.
291-
default_action_content_type = "text/plain"
292-
293-
# If a request to the load balancer does not match any of your listener rules,
294-
# the default action will return a fixed response with this status code.
295-
default_action_status_code = 404
285+
# Define the default action if a request to the load balancer does not match
286+
# any of your listener rules. Currently only 'fixed-response' and 'redirect'
287+
# are supported.
288+
# https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_listener#default_action
289+
default_action = {"fixed-response":{"content_type":"text/plain","message_body":null,"status_code":404}}
296290
297291
# Create a dependency between the resources in this module to the interpolated
298292
# values in this list (and thus the source resources). In other words, the
@@ -405,7 +399,7 @@ module "alb" {
405399
# ------------------------------------------------------------------------------------------------------
406400
407401
terraform {
408-
source = "git::[email protected]:gruntwork-io/terraform-aws-load-balancer.git//modules/alb?ref=v0.29.7"
402+
source = "git::[email protected]:gruntwork-io/terraform-aws-load-balancer.git//modules/alb?ref=v0.29.8"
409403
}
410404
411405
inputs = {
@@ -499,17 +493,11 @@ inputs = {
499493
# the tag name and the value is the tag value.
500494
custom_tags = {}
501495
502-
# If a request to the load balancer does not match any of your listener rules,
503-
# the default action will return a fixed response with this body.
504-
default_action_body = null
505-
506-
# If a request to the load balancer does not match any of your listener rules,
507-
# the default action will return a fixed response with this content type.
508-
default_action_content_type = "text/plain"
509-
510-
# If a request to the load balancer does not match any of your listener rules,
511-
# the default action will return a fixed response with this status code.
512-
default_action_status_code = 404
496+
# Define the default action if a request to the load balancer does not match
497+
# any of your listener rules. Currently only 'fixed-response' and 'redirect'
498+
# are supported.
499+
# https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_listener#default_action
500+
default_action = {"fixed-response":{"content_type":"text/plain","message_body":null,"status_code":404}}
513501
514502
# Create a dependency between the resources in this module to the interpolated
515503
# values in this list (and thus the source resources). In other words, the
@@ -784,31 +772,32 @@ A map of custom tags to apply to the ALB and its Security Group. The key is the
784772
<HclListItemDefaultValue defaultValue="{}"/>
785773
</HclListItem>
786774

787-
<HclListItem name="default_action_body" requirement="optional" type="string">
775+
<HclListItem name="default_action" requirement="optional" type="map(any)">
788776
<HclListItemDescription>
789777

790-
If a request to the load balancer does not match any of your listener rules, the default action will return a fixed response with this body.
778+
Define the default action if a request to the load balancer does not match any of your listener rules. Currently only 'fixed-response' and 'redirect' are supported. https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_listener#default_action
791779

792780
</HclListItemDescription>
793-
<HclListItemDefaultValue defaultValue="null"/>
794-
</HclListItem>
795-
796-
<HclListItem name="default_action_content_type" requirement="optional" type="string">
797-
<HclListItemDescription>
798-
799-
If a request to the load balancer does not match any of your listener rules, the default action will return a fixed response with this content type.
781+
<HclListItemTypeDetails>
800782

801-
</HclListItemDescription>
802-
<HclListItemDefaultValue defaultValue="&quot;text/plain&quot;"/>
803-
</HclListItem>
783+
```hcl
784+
Any types represent complex values of variable type. For details, please consult `variables.tf` in the source repo.
785+
```
804786

805-
<HclListItem name="default_action_status_code" requirement="optional" type="number">
806-
<HclListItemDescription>
787+
</HclListItemTypeDetails>
788+
<HclListItemDefaultValue>
807789

808-
If a request to the load balancer does not match any of your listener rules, the default action will return a fixed response with this status code.
790+
```hcl
791+
{
792+
fixed-response = {
793+
content_type = "text/plain",
794+
message_body = null,
795+
status_code = 404
796+
}
797+
}
798+
```
809799

810-
</HclListItemDescription>
811-
<HclListItemDefaultValue defaultValue="404"/>
800+
</HclListItemDefaultValue>
812801
</HclListItem>
813802

814803
<HclListItem name="dependencies" requirement="optional" type="list(string)">
@@ -1099,11 +1088,11 @@ A map from port to the AWS ARNs of the listeners for the ALB that has been deplo
10991088
<!-- ##DOCS-SOURCER-START
11001089
{
11011090
"originalSources": [
1102-
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/alb/readme.md",
1103-
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/alb/variables.tf",
1104-
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/alb/outputs.tf"
1091+
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.8/modules/alb/readme.md",
1092+
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.8/modules/alb/variables.tf",
1093+
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.8/modules/alb/outputs.tf"
11051094
],
11061095
"sourcePlugin": "module-catalog-api",
1107-
"hash": "cc98337bdd384d717d638613fc745bc7"
1096+
"hash": "d5875cd12a6d7e8eceedfe78ec6bf3b8"
11081097
}
11091098
##DOCS-SOURCER-END -->

docs/reference/modules/terraform-aws-load-balancer/lb-listener-rules/lb-listener-rules.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ 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="Load Balancer Modules" version="0.29.7" lastModifiedVersion="0.29.7"/>
12+
<VersionBadge repoTitle="Load Balancer Modules" version="0.29.8" lastModifiedVersion="0.29.7"/>
1313

1414
# Load Balancer Listener Rules
1515

16-
<a href="https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/lb-listener-rules" 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-load-balancer/tree/v0.29.8/modules/lb-listener-rules" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
1717

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

@@ -95,7 +95,7 @@ Note that in most cases, your path definitions should be mutually exclusive and
9595
9696
module "lb_listener_rules" {
9797
98-
source = "git::[email protected]:gruntwork-io/terraform-aws-load-balancer.git//modules/lb-listener-rules?ref=v0.29.7"
98+
source = "git::[email protected]:gruntwork-io/terraform-aws-load-balancer.git//modules/lb-listener-rules?ref=v0.29.8"
9999
100100
# ----------------------------------------------------------------------------------------------------
101101
# REQUIRED VARIABLES
@@ -146,7 +146,7 @@ module "lb_listener_rules" {
146146
# ------------------------------------------------------------------------------------------------------
147147
148148
terraform {
149-
source = "git::[email protected]:gruntwork-io/terraform-aws-load-balancer.git//modules/lb-listener-rules?ref=v0.29.7"
149+
source = "git::[email protected]:gruntwork-io/terraform-aws-load-balancer.git//modules/lb-listener-rules?ref=v0.29.8"
150150
}
151151
152152
inputs = {
@@ -725,11 +725,11 @@ The ARNs of the rules of type redirect. The key is the same key of the rule from
725725
<!-- ##DOCS-SOURCER-START
726726
{
727727
"originalSources": [
728-
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/lb-listener-rules/readme.md",
729-
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/lb-listener-rules/variables.tf",
730-
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/lb-listener-rules/outputs.tf"
728+
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.8/modules/lb-listener-rules/readme.md",
729+
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.8/modules/lb-listener-rules/variables.tf",
730+
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.8/modules/lb-listener-rules/outputs.tf"
731731
],
732732
"sourcePlugin": "module-catalog-api",
733-
"hash": "696905e595d4bfd787f583ac96e3473b"
733+
"hash": "3090026a14ef49971990cdc4b82614a4"
734734
}
735735
##DOCS-SOURCER-END -->

docs/reference/modules/terraform-aws-load-balancer/nlb/nlb.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ 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="Load Balancer Modules" version="0.29.7" lastModifiedVersion="0.23.0"/>
12+
<VersionBadge repoTitle="Load Balancer Modules" version="0.29.8" lastModifiedVersion="0.23.0"/>
1313

1414
# Network Load Balancer (NLB) Module
1515

16-
<a href="https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/nlb" 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-load-balancer/tree/v0.29.8/modules/nlb" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
1717

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

@@ -29,11 +29,11 @@ For information on why the module was removed, refer to the discussion in [PR
2929
<!-- ##DOCS-SOURCER-START
3030
{
3131
"originalSources": [
32-
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/nlb/readme.md",
33-
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/nlb/variables.tf",
34-
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/nlb/outputs.tf"
32+
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.8/modules/nlb/readme.md",
33+
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.8/modules/nlb/variables.tf",
34+
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.8/modules/nlb/outputs.tf"
3535
],
3636
"sourcePlugin": "module-catalog-api",
37-
"hash": "036acdce771e5eaf50d06bb2d6d3c157"
37+
"hash": "8353d7174a58308e762c17d8a6450d17"
3838
}
3939
##DOCS-SOURCER-END -->

0 commit comments

Comments
 (0)