Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx';
import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx';
import { ModuleUsage } from "../../../../../src/components/ModuleUsage";

<VersionBadge repoTitle="Load Balancer Modules" version="0.29.7" lastModifiedVersion="0.29.7"/>
<VersionBadge repoTitle="Load Balancer Modules" version="0.29.8" lastModifiedVersion="0.29.7"/>

# ACM TLS Certificate

<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>
<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>

<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>

Expand Down Expand Up @@ -196,7 +196,7 @@ In this example, the `acm-tls-certificates` module will "wait" until your `aws_r

module "acm_tls_certificate" {

source = "git::git@github.com:gruntwork-io/terraform-aws-load-balancer.git//modules/acm-tls-certificate?ref=v0.29.7"
source = "git::git@github.com:gruntwork-io/terraform-aws-load-balancer.git//modules/acm-tls-certificate?ref=v0.29.8"

# ----------------------------------------------------------------------------------------------------
# REQUIRED VARIABLES
Expand Down Expand Up @@ -254,7 +254,7 @@ module "acm_tls_certificate" {
# ------------------------------------------------------------------------------------------------------

terraform {
source = "git::git@github.com:gruntwork-io/terraform-aws-load-balancer.git//modules/acm-tls-certificate?ref=v0.29.7"
source = "git::git@github.com:gruntwork-io/terraform-aws-load-balancer.git//modules/acm-tls-certificate?ref=v0.29.8"
}

inputs = {
Expand Down Expand Up @@ -485,11 +485,11 @@ Global tags to apply to all ACM certificates issued via this module. These globa
<!-- ##DOCS-SOURCER-START
{
"originalSources": [
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/acm-tls-certificate/readme.md",
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/acm-tls-certificate/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/acm-tls-certificate/outputs.tf"
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.8/modules/acm-tls-certificate/readme.md",
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.8/modules/acm-tls-certificate/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.8/modules/acm-tls-certificate/outputs.tf"
],
"sourcePlugin": "module-catalog-api",
"hash": "7ad3ba56608032b454acc5be36eb386f"
"hash": "303ace110e9cffa3d2b42a7d710db2e2"
}
##DOCS-SOURCER-END -->
85 changes: 37 additions & 48 deletions docs/reference/modules/terraform-aws-load-balancer/alb/alb.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx';
import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx';
import { ModuleUsage } from "../../../../../src/components/ModuleUsage";

<VersionBadge repoTitle="Load Balancer Modules" version="0.29.7" lastModifiedVersion="0.29.7"/>
<VersionBadge repoTitle="Load Balancer Modules" version="0.29.8" lastModifiedVersion="0.29.8"/>

# Application Load Balancer (ALB) Module

<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>
<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>

<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>
<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>

This Terraform Module creates an [Application Load Balancer](http://docs.aws.amazon.com/elasticloadbalancing/latest/application/introduction.html)
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).
Expand Down Expand Up @@ -191,7 +191,7 @@ There are two ways for you to override this behavior:

module "alb" {

source = "git::git@github.com:gruntwork-io/terraform-aws-load-balancer.git//modules/alb?ref=v0.29.7"
source = "git::git@github.com:gruntwork-io/terraform-aws-load-balancer.git//modules/alb?ref=v0.29.8"

# ----------------------------------------------------------------------------------------------------
# REQUIRED VARIABLES
Expand Down Expand Up @@ -282,17 +282,11 @@ module "alb" {
# the tag name and the value is the tag value.
custom_tags = {}

# 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.
default_action_body = null

# 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.
default_action_content_type = "text/plain"

# 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.
default_action_status_code = 404
# 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
default_action = {"fixed-response":{"content_type":"text/plain","message_body":null,"status_code":404}}

# Create a dependency between the resources in this module to the interpolated
# values in this list (and thus the source resources). In other words, the
Expand Down Expand Up @@ -405,7 +399,7 @@ module "alb" {
# ------------------------------------------------------------------------------------------------------

terraform {
source = "git::git@github.com:gruntwork-io/terraform-aws-load-balancer.git//modules/alb?ref=v0.29.7"
source = "git::git@github.com:gruntwork-io/terraform-aws-load-balancer.git//modules/alb?ref=v0.29.8"
}

inputs = {
Expand Down Expand Up @@ -499,17 +493,11 @@ inputs = {
# the tag name and the value is the tag value.
custom_tags = {}

# 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.
default_action_body = null

# 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.
default_action_content_type = "text/plain"

# 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.
default_action_status_code = 404
# 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
default_action = {"fixed-response":{"content_type":"text/plain","message_body":null,"status_code":404}}

# Create a dependency between the resources in this module to the interpolated
# values in this list (and thus the source resources). In other words, the
Expand Down Expand Up @@ -784,31 +772,32 @@ A map of custom tags to apply to the ALB and its Security Group. The key is the
<HclListItemDefaultValue defaultValue="{}"/>
</HclListItem>

<HclListItem name="default_action_body" requirement="optional" type="string">
<HclListItem name="default_action" requirement="optional" type="map(any)">
<HclListItemDescription>

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.
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

</HclListItemDescription>
<HclListItemDefaultValue defaultValue="null"/>
</HclListItem>

<HclListItem name="default_action_content_type" requirement="optional" type="string">
<HclListItemDescription>

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.
<HclListItemTypeDetails>

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

<HclListItem name="default_action_status_code" requirement="optional" type="number">
<HclListItemDescription>
</HclListItemTypeDetails>
<HclListItemDefaultValue>

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.
```hcl
{
fixed-response = {
content_type = "text/plain",
message_body = null,
status_code = 404
}
}
```

</HclListItemDescription>
<HclListItemDefaultValue defaultValue="404"/>
</HclListItemDefaultValue>
</HclListItem>

<HclListItem name="dependencies" requirement="optional" type="list(string)">
Expand Down Expand Up @@ -1099,11 +1088,11 @@ A map from port to the AWS ARNs of the listeners for the ALB that has been deplo
<!-- ##DOCS-SOURCER-START
{
"originalSources": [
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/alb/readme.md",
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/alb/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/alb/outputs.tf"
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.8/modules/alb/readme.md",
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.8/modules/alb/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.8/modules/alb/outputs.tf"
],
"sourcePlugin": "module-catalog-api",
"hash": "cc98337bdd384d717d638613fc745bc7"
"hash": "d5875cd12a6d7e8eceedfe78ec6bf3b8"
}
##DOCS-SOURCER-END -->
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx';
import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx';
import { ModuleUsage } from "../../../../../src/components/ModuleUsage";

<VersionBadge repoTitle="Load Balancer Modules" version="0.29.7" lastModifiedVersion="0.29.7"/>
<VersionBadge repoTitle="Load Balancer Modules" version="0.29.8" lastModifiedVersion="0.29.7"/>

# Load Balancer Listener Rules

<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>
<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>

<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>

Expand Down Expand Up @@ -95,7 +95,7 @@ Note that in most cases, your path definitions should be mutually exclusive and

module "lb_listener_rules" {

source = "git::git@github.com:gruntwork-io/terraform-aws-load-balancer.git//modules/lb-listener-rules?ref=v0.29.7"
source = "git::git@github.com:gruntwork-io/terraform-aws-load-balancer.git//modules/lb-listener-rules?ref=v0.29.8"

# ----------------------------------------------------------------------------------------------------
# REQUIRED VARIABLES
Expand Down Expand Up @@ -146,7 +146,7 @@ module "lb_listener_rules" {
# ------------------------------------------------------------------------------------------------------

terraform {
source = "git::git@github.com:gruntwork-io/terraform-aws-load-balancer.git//modules/lb-listener-rules?ref=v0.29.7"
source = "git::git@github.com:gruntwork-io/terraform-aws-load-balancer.git//modules/lb-listener-rules?ref=v0.29.8"
}

inputs = {
Expand Down Expand Up @@ -725,11 +725,11 @@ The ARNs of the rules of type redirect. The key is the same key of the rule from
<!-- ##DOCS-SOURCER-START
{
"originalSources": [
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/lb-listener-rules/readme.md",
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/lb-listener-rules/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/lb-listener-rules/outputs.tf"
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.8/modules/lb-listener-rules/readme.md",
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.8/modules/lb-listener-rules/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.8/modules/lb-listener-rules/outputs.tf"
],
"sourcePlugin": "module-catalog-api",
"hash": "696905e595d4bfd787f583ac96e3473b"
"hash": "3090026a14ef49971990cdc4b82614a4"
}
##DOCS-SOURCER-END -->
12 changes: 6 additions & 6 deletions docs/reference/modules/terraform-aws-load-balancer/nlb/nlb.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx';
import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx';
import { ModuleUsage } from "../../../../../src/components/ModuleUsage";

<VersionBadge repoTitle="Load Balancer Modules" version="0.29.7" lastModifiedVersion="0.23.0"/>
<VersionBadge repoTitle="Load Balancer Modules" version="0.29.8" lastModifiedVersion="0.23.0"/>

# Network Load Balancer (NLB) Module

<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>
<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>

<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>

Expand All @@ -29,11 +29,11 @@ For information on why the module was removed, refer to the discussion in [PR
<!-- ##DOCS-SOURCER-START
{
"originalSources": [
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/nlb/readme.md",
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/nlb/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.7/modules/nlb/outputs.tf"
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.8/modules/nlb/readme.md",
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.8/modules/nlb/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-load-balancer/tree/v0.29.8/modules/nlb/outputs.tf"
],
"sourcePlugin": "module-catalog-api",
"hash": "036acdce771e5eaf50d06bb2d6d3c157"
"hash": "8353d7174a58308e762c17d8a6450d17"
}
##DOCS-SOURCER-END -->
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx';
import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx';
import { ModuleUsage } from "../../../../../src/components/ModuleUsage";

<VersionBadge repoTitle="VPC Modules" version="0.23.1" lastModifiedVersion="0.22.3"/>
<VersionBadge repoTitle="VPC Modules" version="0.23.2" lastModifiedVersion="0.22.3"/>

# Network ACL Inbound Terraform Module

<a href="https://github.com/gruntwork-io/terraform-aws-vpc/tree/pete%2FKB-743%2Fflow-log-params/modules/network-acl-inbound" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
<a href="https://github.com/gruntwork-io/terraform-aws-vpc/tree/v0.23.2/modules/network-acl-inbound" className="link-button" title="View the source code for this module in GitHub.">View Source</a>

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

Expand All @@ -24,7 +24,7 @@ with because they are stateless, which means that opening an inbound port is oft
which your services use to respond. This can be very easy to forget, so this module adds not only the inbound ports to
an ACL, but also the ephemeral outbound ports for return traffic.

See the [network-acl-outbound](https://github.com/gruntwork-io/terraform-aws-vpc/tree/pete%2FKB-743%2Fflow-log-params/modules/network-acl-outbound) module for the analogous version of this module, but for opening
See the [network-acl-outbound](https://github.com/gruntwork-io/terraform-aws-vpc/tree/v0.23.2/modules/network-acl-outbound) module for the analogous version of this module, but for opening
outbound ports.

## What's a Network ACL?
Expand All @@ -47,7 +47,7 @@ EC2 instance), a network ACL controls what inbound and outbound traffic is allow

module "network_acl_inbound" {

source = "git::git@github.com:gruntwork-io/terraform-aws-vpc.git//modules/network-acl-inbound?ref=v0.23.1"
source = "git::git@github.com:gruntwork-io/terraform-aws-vpc.git//modules/network-acl-inbound?ref=v0.23.2"

# ----------------------------------------------------------------------------------------------------
# REQUIRED VARIABLES
Expand Down Expand Up @@ -134,7 +134,7 @@ module "network_acl_inbound" {
# ------------------------------------------------------------------------------------------------------

terraform {
source = "git::git@github.com:gruntwork-io/terraform-aws-vpc.git//modules/network-acl-inbound?ref=v0.23.1"
source = "git::git@github.com:gruntwork-io/terraform-aws-vpc.git//modules/network-acl-inbound?ref=v0.23.2"
}

inputs = {
Expand Down Expand Up @@ -221,11 +221,11 @@ inputs = {
<!-- ##DOCS-SOURCER-START
{
"originalSources": [
"https://github.com/gruntwork-io/terraform-aws-vpc/tree/pete%2FKB-743%2Fflow-log-params/modules/network-acl-inbound/readme.md",
"https://github.com/gruntwork-io/terraform-aws-vpc/tree/pete%2FKB-743%2Fflow-log-params/modules/network-acl-inbound/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-vpc/tree/pete%2FKB-743%2Fflow-log-params/modules/network-acl-inbound/outputs.tf"
"https://github.com/gruntwork-io/terraform-aws-vpc/tree/v0.23.2/modules/network-acl-inbound/readme.md",
"https://github.com/gruntwork-io/terraform-aws-vpc/tree/v0.23.2/modules/network-acl-inbound/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-vpc/tree/v0.23.2/modules/network-acl-inbound/outputs.tf"
],
"sourcePlugin": "module-catalog-api",
"hash": "43882451423c204010279ea8a803576b"
"hash": "db2b80c6c51c5132c0b9c24934500b35"
}
##DOCS-SOURCER-END -->
Loading