Add ability to load balance TCP applications on AWS

* Add ability to load balance TCP applications (e.g. NodePort)
* Output the network load balancer ARN as `nlb_id`
* Accept a `worker_target_groups` (ARN) list to which worker
instances should be added
* AWS NLBs and target groups don't support UDP
This commit is contained in:
Dalton Hubble
2019-03-31 23:22:47 -07:00
parent aaa8e0261a
commit 60265f9b58
7 changed files with 26 additions and 0 deletions

View File

@ -19,6 +19,7 @@ resource "aws_autoscaling_group" "workers" {
target_group_arns = [
"${aws_lb_target_group.workers-http.id}",
"${aws_lb_target_group.workers-https.id}",
"${var.target_groups}",
]
lifecycle {