英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论