Skip to content

Commit 7289d27

Browse files
author
Steven Nemetz
committed
Workaround: Set stickiness default for NLB target group because provider does not do it right
1 parent 607cbb3 commit 7289d27

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ data "aws_acm_certificate" "this" {
7676
? 1 : 0}"
7777

7878
domain = "${var.certificate_name != "" ? var.certificate_name : local.cert_name }"
79+
#statuses = ["ISSUED"]
7980
}
8081

8182
# May need to create 2: 1 w/ logs and 1 w/o logs
@@ -318,6 +319,7 @@ resource "aws_lb_target_group" "network" {
318319
port = "${element(compact(split(",",local.instance_tcp_ports)), count.index)}"
319320
protocol = "TCP"
320321
vpc_id = "${var.vpc_id}"
322+
stickiness = []
321323

322324
#deregistration_delay = "${}"
323325
#target_type = "${}"
@@ -406,4 +408,3 @@ resource "aws_lb_listener_rule" "this" {
406408
}
407409
}
408410
*/
409-

0 commit comments

Comments
 (0)