Skip to content

Commit 943ab04

Browse files
committed
Fix usage of ALB module.
1 parent f002004 commit 943ab04

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

examples/basic/prerequisites.tf

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,12 @@ module "application_load_balancer" {
6060

6161
target_groups = [
6262
{
63-
key = "default"
64-
port = 80
65-
protocol = "HTTP"
66-
target_type = "instance"
67-
health_check = {
63+
key = "default"
64+
port = 80
65+
protocol = "HTTP"
66+
target_type = "instance"
67+
deregistration_delay = 300
68+
health_check = {
6869
path = "/health"
6970
port = "traffic-port"
7071
protocol = "HTTP"

spec/unit/infra/prerequisites/main.tf

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,12 @@ module "application_load_balancer" {
6060

6161
target_groups = [
6262
{
63-
key = "default"
64-
port = 80
65-
protocol = "HTTP"
66-
target_type = "instance"
67-
health_check = {
63+
key = "default"
64+
port = 80
65+
protocol = "HTTP"
66+
target_type = "instance"
67+
deregistration_delay = 300
68+
health_check = {
6869
path = "/health"
6970
port = "traffic-port"
7071
protocol = "HTTP"

0 commit comments

Comments
 (0)