#airship (2019-11)

airship

Home of Airship ECS Modules ( https://github.com/blinkist/terraform-aws-airship-ecs-service / https://github.com/blinkist/terraform-aws-airship-ecs-cluster )

Archive: https://archive.sweetops.com/airship/

2019-11-20

Rolf M. Harksen avatar
Rolf M. Harksen

Hi everyone,

Any one who can explain to me why nlb’s healthcheck protocol is set to TCP with out the possibility to change through a variable?

As far as i can see in the aws docs, it is possible to use HTTP health checks in nlb and i thought about creating a pull request to make this possible. But before i start testing, i thought to ask here if anyone here knows more about it?

Have a nice day in any case!

2019-11-21

Mads Hvelplund avatar
Mads Hvelplund

are you talking about the target group health check?

Mads Hvelplund avatar
Mads Hvelplund

@Rolf M. Harksen From Terraform docs: https://www.terraform.io/docs/providers/aws/r/lb_target_group.html

Note: The Health Check parameters you can set vary by the protocol of the Target Group. Many parameters cannot be set to custom values for network load balancers at this time. But from AWS NLB: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/target-group-health-checks.html

HealthCheckProtocol: The protocol the load balancer uses when performing health checks on targets. The possible protocols are HTTP, HTTPS, and TCP. The default is the TCP protocol. Have you tried setting the health_check.protocolto HTTP?

AWS: aws_lb_target_group - Terraform by HashiCorp

Provides a Target Group resource for use with Load Balancers.

Health Checks for Your Target Groups - Elastic Load Balancing

Learn how to configure the health check settings for your target groups.

    keyboard_arrow_up