Skip to content

Commit 68bf0ae

Browse files
committed
Fixing issue with variable
1 parent 80024d0 commit 68bf0ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ resource "aws_lb_target_group" "lb_https_tgs" {
137137
dynamic "stickiness" {
138138
for_each = var.stickiness == null ? [] : [var.stickiness]
139139
content {
140-
type = stickiness.value.bucket
141-
cookie_duration = stickiness.value.prefix
140+
type = stickiness.value.type
141+
cookie_duration = stickiness.value.cookie_duration
142142
enabled = stickiness.value.enabled
143143
}
144144
}

0 commit comments

Comments
 (0)