Skip to content

Commit

Permalink
Merge pull request #9702 from terraform-providers/rfd-lb-docs
Browse files Browse the repository at this point in the history
Add a note to the ALB docs to clarify requirements of optional subnet…
  • Loading branch information
ryndaniels authored Aug 9, 2019
2 parents 21c99dd + fd0462e commit cc3dba0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions website/docs/r/lb.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ resource "aws_lb" "example" {

## Argument Reference

~> **NOTE:** Please note that internal LBs can only use `ipv4` as the ip_address_type. You can only change to `dualstack` ip_address_type if the selected subnets are IPv6 enabled.

~> **NOTE:** Please note that one of either `subnets` or `subnet_mapping` is required.

The following arguments are supported:

* `name` - (Optional) The name of the LB. This name must be unique within your AWS account, can have a maximum of 32 characters,
Expand All @@ -99,8 +103,6 @@ for load balancers of type `network` will force a recreation of the resource.
* `ip_address_type` - (Optional) The type of IP addresses used by the subnets for your load balancer. The possible values are `ipv4` and `dualstack`
* `tags` - (Optional) A mapping of tags to assign to the resource.

~> **NOTE::** Please note that internal LBs can only use `ipv4` as the ip_address_type. You can only change to `dualstack` ip_address_type if the selected subnets are IPv6 enabled.

Access Logs (`access_logs`) support the following:

* `bucket` - (Required) The S3 bucket name to store the logs in.
Expand Down

0 comments on commit cc3dba0

Please sign in to comment.