@@ -87,13 +87,14 @@ resource "aws_lb" "application" {
8787 internal = " ${ var . internal } "
8888 load_balancer_type = " ${ var . type } "
8989
90- # enable_deletion_protection = "${}"
91- idle_timeout = " ${ var . idle_timeout } "
90+ enable_deletion_protection = " ${ var . enable_deletion_protection } "
91+ enable_http2 = " ${ var . enable_http2 } "
92+ idle_timeout = " ${ var . idle_timeout } "
93+ security_groups = [" ${ var . security_groups } " ]
94+ subnets = [" ${ var . subnets } " ]
95+ tags = " ${ module . label . tags } "
9296
9397 # ip_address_type = "${}"
94- security_groups = [" ${ var . security_groups } " ]
95- subnets = [" ${ var . subnets } " ]
96- tags = " ${ module . label . tags } "
9798
9899 # Doesn't seem to be able to disable properly
99100 # access_logs {
@@ -119,12 +120,13 @@ resource "aws_lb" "network" {
119120 internal = " ${ var . internal } "
120121 load_balancer_type = " ${ var . type } "
121122
122- # enable_deletion_protection = "${}"
123- idle_timeout = " ${ var . idle_timeout } "
123+ enable_cross_zone_load_balancing = " ${ var . enable_cross_zone_load_balancing } "
124+ enable_deletion_protection = " ${ var . enable_deletion_protection } "
125+ idle_timeout = " ${ var . idle_timeout } "
126+ subnets = [" ${ var . subnets } " ]
127+ tags = " ${ module . label . tags } "
124128
125129 # ip_address_type = "${}"
126- subnets = [" ${ var . subnets } " ]
127- tags = " ${ module . label . tags } "
128130
129131 /*
130132 subnet_mapping {
@@ -423,3 +425,4 @@ resource "aws_lb_listener_rule" "this" {
423425 }
424426}
425427*/
428+
0 commit comments