Skip to content

Commit

Permalink
feat: added acm module and new github-action
Browse files Browse the repository at this point in the history
  • Loading branch information
theprashantyadav committed Jul 20, 2023
1 parent 2cf0e18 commit c41ce75
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ resource "aws_lb_target_group" "main" {

dynamic "stickiness" {
for_each = length(keys(lookup(var.target_groups[count.index], "stickiness", {}))) == 0 ? [] : [lookup(var.target_groups[count.index], "stickiness", {})]

content {
enabled = lookup(stickiness.value, "enabled", null)
cookie_duration = lookup(stickiness.value, "cookie_duration", null)
Expand Down Expand Up @@ -211,7 +210,6 @@ resource "aws_elb" "main" {
connection_draining_timeout = var.connection_draining_timeout
security_groups = var.security_groups
subnets = var.subnets

dynamic "listener" {
for_each = var.listeners
content {
Expand All @@ -230,6 +228,5 @@ resource "aws_elb" "main" {
unhealthy_threshold = var.health_check_unhealthy_threshold
healthy_threshold = var.health_check_healthy_threshold
}

tags = module.labels.tags
}
}

0 comments on commit c41ce75

Please sign in to comment.