如何使用Terraform实现ALB加权目标组。

huangapple go评论61阅读模式
英文:

How to achieve ALB weighted target groups with Terraform

问题

有新的功能在ALB上,允许在具有加权优先级的侦听器上使用多个目标组。潜在的配置可以允许在aws_lb_listener_rule上有多个操作块,并包括优先级。

AWS 参考链接:https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html

如何使用Terraform实现这一点?

英文:

There are new features on ALBs that allow for multiple target groups on a listener with a weighted priority. The potential configuration would allow for multiple action blocks on a aws_lb_listener_rule with a priority included.

AWS Reference: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html

How can we achieve this with Terraform

答案1

得分: 0

通常,当AWS宣布新功能时,与Terraform资源的可用性之间存在一定的延迟,因为Terraform资源需要实现新的API调用/功能。

在这种情况下,看起来terraform-provider-aws存储库上存在一个开放问题来支持此行为。有一个处于draft模式的拉取请求,可能会修复这个问题。

英文:

Usually, there's a delay when new features are announced by AWS and when they are available in Terraform since the Terraform resources need to implement the new API calls/functionality.

In this case, it looks like there's an open issue on the terraform-provider-aws repo to support this behavior. There's an open pull request that may fix the issue in draft mode.

huangapple
  • 本文由 发表于 2020年1月6日 16:40:54
  • 转载请务必保留本文链接:https://go.coder-hub.com/59608987.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定