Skip to content

Commit 35e90b4

Browse files
Co-authored-by: docs-sourcer[bot] <99042413+docs-sourcer[bot]@users.noreply.github.com>
1 parent 9aaa500 commit 35e90b4

File tree

4 files changed

+188
-42
lines changed

4 files changed

+188
-42
lines changed

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

Lines changed: 8 additions & 9 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.26" lastModifiedVersion="0.29.20"/>
12+
<VersionBadge repoTitle="Load Balancer Modules" version="0.30.1" lastModifiedVersion="0.29.20"/>
1313

1414
# ACM TLS Certificate
1515

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

@@ -232,7 +232,7 @@ In this example, the `acm-tls-certificates` module will "wait" until your `aws_r
232232
233233
module "acm_tls_certificate" {
234234
235-
source = "git::[email protected]:gruntwork-io/terraform-aws-load-balancer.git//modules/acm-tls-certificate?ref=v0.29.26"
235+
source = "git::[email protected]:gruntwork-io/terraform-aws-load-balancer.git//modules/acm-tls-certificate?ref=v0.30.1"
236236
237237
# ----------------------------------------------------------------------------------------------------
238238
# REQUIRED VARIABLES
@@ -290,7 +290,7 @@ module "acm_tls_certificate" {
290290
# ------------------------------------------------------------------------------------------------------
291291
292292
terraform {
293-
source = "git::[email protected]:gruntwork-io/terraform-aws-load-balancer.git//modules/acm-tls-certificate?ref=v0.29.26"
293+
source = "git::[email protected]:gruntwork-io/terraform-aws-load-balancer.git//modules/acm-tls-certificate?ref=v0.30.1"
294294
}
295295
296296
inputs = {
@@ -540,15 +540,14 @@ Global tags to apply to all ACM certificates issued via this module. These globa
540540
</TabItem>
541541
</Tabs>
542542

543-
544543
<!-- ##DOCS-SOURCER-START
545544
{
546545
"originalSources": [
547-
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.26/modules/acm-tls-certificate/readme.md",
548-
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.26/modules/acm-tls-certificate/variables.tf",
549-
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.26/modules/acm-tls-certificate/outputs.tf"
546+
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.30.1/modules/acm-tls-certificate/readme.md",
547+
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.30.1/modules/acm-tls-certificate/variables.tf",
548+
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.30.1/modules/acm-tls-certificate/outputs.tf"
550549
],
551550
"sourcePlugin": "module-catalog-api",
552-
"hash": "bdbbd15683e1860f393a1c23e2ff552f"
551+
"hash": "0a763d765bd3b9368e8dae392f9de0eb"
553552
}
554553
##DOCS-SOURCER-END -->

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

Lines changed: 166 additions & 17 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.26" lastModifiedVersion="0.29.26"/>
12+
<VersionBadge repoTitle="Load Balancer Modules" version="0.30.1" lastModifiedVersion="0.30.0"/>
1313

1414
# Application Load Balancer (ALB) Module
1515

16-
<a href="https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.26/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.30.1/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.26" 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.30.0" 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.26"
194+
source = "git::[email protected]:gruntwork-io/terraform-aws-load-balancer.git//modules/alb?ref=v0.30.1"
195195
196196
# ----------------------------------------------------------------------------------------------------
197197
# REQUIRED VARIABLES
@@ -334,7 +334,7 @@ module "alb" {
334334
# Define the default action for HTTP listeners. Use this to override the
335335
# default_action variable for HTTP listeners. This is particularly useful if
336336
# you for example want to redirect all HTTP traffic to HTTPS.
337-
http_default_action = null
337+
http_default_action = {}
338338
339339
# A list of ports for which an HTTP Listener should be created on the ALB.
340340
# Tip: When you define Listener Rules for these Listeners, be sure that, for
@@ -412,7 +412,7 @@ module "alb" {
412412
# ------------------------------------------------------------------------------------------------------
413413
414414
terraform {
415-
source = "git::[email protected]:gruntwork-io/terraform-aws-load-balancer.git//modules/alb?ref=v0.29.26"
415+
source = "git::[email protected]:gruntwork-io/terraform-aws-load-balancer.git//modules/alb?ref=v0.30.1"
416416
}
417417
418418
inputs = {
@@ -558,7 +558,7 @@ inputs = {
558558
# Define the default action for HTTP listeners. Use this to override the
559559
# default_action variable for HTTP listeners. This is particularly useful if
560560
# you for example want to redirect all HTTP traffic to HTTPS.
561-
http_default_action = null
561+
http_default_action = {}
562562
563563
# A list of ports for which an HTTP Listener should be created on the ALB.
564564
# Tip: When you define Listener Rules for these Listeners, be sure that, for
@@ -798,7 +798,7 @@ A map of custom tags to apply to the ALB and its Security Group. The key is the
798798
<HclListItemDefaultValue defaultValue="{}"/>
799799
</HclListItem>
800800

801-
<HclListItem name="default_action" requirement="optional" type="any">
801+
<HclListItem name="default_action" requirement="optional" type="object(…)">
802802
<HclListItemDescription>
803803

804804
Define the default action if a request to the load balancer does not match any of your listener rules. https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_listener#default_action
@@ -807,7 +807,44 @@ Define the default action if a request to the load balancer does not match any o
807807
<HclListItemTypeDetails>
808808

809809
```hcl
810-
Any types represent complex values of variable type. For details, please consult `variables.tf` in the source repo.
810+
object({
811+
forward = optional(object({
812+
target_groups = list(object({
813+
arn = string
814+
weight = optional(number)
815+
}))
816+
stickiness = optional(object({
817+
duration = optional(number)
818+
enabled = optional(bool)
819+
}))
820+
}))
821+
redirect = optional(object({
822+
host = optional(string)
823+
path = optional(string)
824+
port = optional(string)
825+
protocol = optional(string)
826+
query = optional(string)
827+
status_code = string
828+
}))
829+
fixed-response = optional(object({
830+
content_type = string
831+
message_body = optional(string)
832+
status_code = number
833+
}))
834+
authenticate-cognito = optional(object({
835+
user_pool_arn = string
836+
user_pool_client_id = string
837+
user_pool_domain = string
838+
}))
839+
authenticate-oidc = optional(object({
840+
authorization_endpoint = string
841+
client_id = string
842+
client_secret = string
843+
issuer = string
844+
token_endpoint = string
845+
user_info_endpoint = string
846+
}))
847+
})
811848
```
812849

813850
</HclListItemTypeDetails>
@@ -907,7 +944,7 @@ Indicates whether the X-Forwarded-For header should preserve the source port tha
907944
<HclListItemDefaultValue defaultValue="true"/>
908945
</HclListItem>
909946

910-
<HclListItem name="http_default_action" requirement="optional" type="map(any)">
947+
<HclListItem name="http_default_action" requirement="optional" type="object(…)">
911948
<HclListItemDescription>
912949

913950
Define the default action for HTTP listeners. Use this to override the default_action variable for HTTP listeners. This is particularly useful if you for example want to redirect all HTTP traffic to HTTPS.
@@ -916,11 +953,48 @@ Define the default action for HTTP listeners. Use this to override the default_a
916953
<HclListItemTypeDetails>
917954

918955
```hcl
919-
Any types represent complex values of variable type. For details, please consult `variables.tf` in the source repo.
956+
object({
957+
forward = optional(object({
958+
target_groups = list(object({
959+
arn = string
960+
weight = optional(number)
961+
}))
962+
stickiness = optional(object({
963+
duration = optional(number)
964+
enabled = optional(bool)
965+
}))
966+
}))
967+
redirect = optional(object({
968+
host = optional(string)
969+
path = optional(string)
970+
port = optional(string)
971+
protocol = optional(string)
972+
query = optional(string)
973+
status_code = string
974+
}))
975+
fixed-response = optional(object({
976+
content_type = string
977+
message_body = optional(string)
978+
status_code = number
979+
}))
980+
authenticate-cognito = optional(object({
981+
user_pool_arn = string
982+
user_pool_client_id = string
983+
user_pool_domain = string
984+
}))
985+
authenticate-oidc = optional(object({
986+
authorization_endpoint = string
987+
client_id = string
988+
client_secret = string
989+
issuer = string
990+
token_endpoint = string
991+
user_info_endpoint = string
992+
}))
993+
})
920994
```
921995

922996
</HclListItemTypeDetails>
923-
<HclListItemDefaultValue defaultValue="null"/>
997+
<HclListItemDefaultValue defaultValue="{}"/>
924998
<HclGeneralListItem title="More Details">
925999
<details>
9261000

@@ -963,6 +1037,44 @@ A list of the ports for which an HTTPS Listener should be created on the ALB. Ea
9631037
list(object({
9641038
port = number
9651039
tls_domain_name = string
1040+
default_action = optional(object({
1041+
forward = optional(object({
1042+
target_groups = list(object({
1043+
arn = string
1044+
weight = optional(number)
1045+
}))
1046+
stickiness = optional(object({
1047+
duration = optional(number)
1048+
enabled = optional(bool)
1049+
}))
1050+
}))
1051+
redirect = optional(object({
1052+
host = optional(string)
1053+
path = optional(string)
1054+
port = optional(string)
1055+
protocol = optional(string)
1056+
query = optional(string)
1057+
status_code = string
1058+
}))
1059+
fixed-response = optional(object({
1060+
content_type = string
1061+
message_body = optional(string)
1062+
status_code = number
1063+
}))
1064+
authenticate-cognito = optional(object({
1065+
user_pool_arn = string
1066+
user_pool_client_id = string
1067+
user_pool_domain = string
1068+
}))
1069+
authenticate-oidc = optional(object({
1070+
authorization_endpoint = string
1071+
client_id = string
1072+
client_secret = string
1073+
issuer = string
1074+
token_endpoint = string
1075+
user_info_endpoint = string
1076+
}))
1077+
}))
9661078
}))
9671079
```
9681080

@@ -1008,6 +1120,44 @@ A list of the ports for which an HTTPS Listener should be created on the ALB. Ea
10081120
list(object({
10091121
port = number
10101122
tls_arn = string
1123+
default_action = optional(object({
1124+
forward = optional(object({
1125+
target_groups = list(object({
1126+
arn = string
1127+
weight = optional(number)
1128+
}))
1129+
stickiness = optional(object({
1130+
duration = optional(number)
1131+
enabled = optional(bool)
1132+
}))
1133+
}))
1134+
redirect = optional(object({
1135+
host = optional(string)
1136+
path = optional(string)
1137+
port = optional(string)
1138+
protocol = optional(string)
1139+
query = optional(string)
1140+
status_code = string
1141+
}))
1142+
fixed-response = optional(object({
1143+
content_type = string
1144+
message_body = optional(string)
1145+
status_code = number
1146+
}))
1147+
authenticate-cognito = optional(object({
1148+
user_pool_arn = string
1149+
user_pool_client_id = string
1150+
user_pool_domain = string
1151+
}))
1152+
authenticate-oidc = optional(object({
1153+
authorization_endpoint = string
1154+
client_id = string
1155+
client_secret = string
1156+
issuer = string
1157+
token_endpoint = string
1158+
user_info_endpoint = string
1159+
}))
1160+
}))
10111161
}))
10121162
```
10131163

@@ -1163,15 +1313,14 @@ A map from port to the AWS ARNs of the listeners for the ALB that has been deplo
11631313
</TabItem>
11641314
</Tabs>
11651315

1166-
11671316
<!-- ##DOCS-SOURCER-START
11681317
{
11691318
"originalSources": [
1170-
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.26/modules/alb/readme.md",
1171-
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.26/modules/alb/variables.tf",
1172-
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.26/modules/alb/outputs.tf"
1319+
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.30.1/modules/alb/readme.md",
1320+
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.30.1/modules/alb/variables.tf",
1321+
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.30.1/modules/alb/outputs.tf"
11731322
],
11741323
"sourcePlugin": "module-catalog-api",
1175-
"hash": "d87b9015a947cdf119124cdd26c3bd91"
1324+
"hash": "7290a659c1a3f268710c8b53d305ff92"
11761325
}
11771326
##DOCS-SOURCER-END -->

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

Lines changed: 8 additions & 9 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.26" lastModifiedVersion="0.29.24"/>
12+
<VersionBadge repoTitle="Load Balancer Modules" version="0.30.1" lastModifiedVersion="0.29.24"/>
1313

1414
# Load Balancer Listener Rules
1515

16-
<a href="https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.26/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.30.1/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.24" 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.26"
98+
source = "git::[email protected]:gruntwork-io/terraform-aws-load-balancer.git//modules/lb-listener-rules?ref=v0.30.1"
9999
100100
# ----------------------------------------------------------------------------------------------------
101101
# REQUIRED VARIABLES
@@ -151,7 +151,7 @@ module "lb_listener_rules" {
151151
# ------------------------------------------------------------------------------------------------------
152152
153153
terraform {
154-
source = "git::[email protected]:gruntwork-io/terraform-aws-load-balancer.git//modules/lb-listener-rules?ref=v0.29.26"
154+
source = "git::[email protected]:gruntwork-io/terraform-aws-load-balancer.git//modules/lb-listener-rules?ref=v0.30.1"
155155
}
156156
157157
inputs = {
@@ -831,15 +831,14 @@ The ARNs of the rules of type redirect. The key is the same key of the rule from
831831
</TabItem>
832832
</Tabs>
833833

834-
835834
<!-- ##DOCS-SOURCER-START
836835
{
837836
"originalSources": [
838-
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.26/modules/lb-listener-rules/readme.md",
839-
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.26/modules/lb-listener-rules/variables.tf",
840-
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.26/modules/lb-listener-rules/outputs.tf"
837+
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.30.1/modules/lb-listener-rules/readme.md",
838+
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.30.1/modules/lb-listener-rules/variables.tf",
839+
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.30.1/modules/lb-listener-rules/outputs.tf"
841840
],
842841
"sourcePlugin": "module-catalog-api",
843-
"hash": "54e2a7c53375d57c3cc3c180a1f06682"
842+
"hash": "fba47d39b00a33db49bd0005e06bec03"
844843
}
845844
##DOCS-SOURCER-END -->

0 commit comments

Comments
 (0)