No modules.
| Name |
Description |
Type |
Default |
Required |
| access_logs |
An Access Logs block |
list(object({ bucket = string prefix = string enabled = bool })) |
[] |
no |
| create_nlb |
Create NLB |
bool |
false |
no |
| create_nlb_listener |
Create NLB Listener |
bool |
false |
no |
| deregistration_delay |
Amount time for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused. |
number |
60 |
no |
| enable_cross_zone_load_balancing |
If true, cross-zone load balancing of the load balancer will be enabled. |
bool |
true |
no |
| enable_deletion_protection |
If true, deletion of the load balancer will be disabled via the AWS API. |
bool |
true |
no |
| enforce_security_group_inbound_rules_on_private_link_traffic |
If on, then inbound security group rules are enforced for traffic originating from a PrivateLink, o/w set it off |
string |
"on" |
no |
| health_check |
Listener Rule Health Check |
map(string) |
{} |
no |
| internal |
If true, the LB will be internal |
bool |
true |
no |
| name |
The name of the LB |
string |
"" |
no |
| nlb_arn |
NLB arn |
string |
"" |
no |
| port |
Listener port |
number |
80 |
no |
| protocol |
Protocol for Listener & Target Group |
string |
"TCP" |
no |
| security_group_ids |
NLB security group id |
list(string) |
[] |
no |
| subnet_mapping |
A list of subnet IDs to attach to the LB |
list(object({ allocation_id = string # The allocation ID of the Elastic IP address for an internet-facing load balancer. ipv6_address = string # An ipv6 address within the subnet to assign to the internet-facing load balancer. private_ipv4_address = string # A private ipv4 address within the subnet to assign to the internal-facing load balancer. subnet_id = string # The id of the subnet of which to attach to the load balancer. You can specify only one subnet per Availability Zone. })) |
[] |
no |
| subnets |
Subnets to host NLB |
list(string) |
[] |
no |
| tags |
A map of tags to add to all resources |
map(string) |
{} |
no |
| target_group_name |
Target group name |
string |
"" |
no |
| target_type |
Type of target that you must specify when registering targets with this target group |
string |
"ip" |
no |
| vpc_id |
VPC id |
string |
"" |
no |
Apache 2 Licensed. See LICENSE for full details.