Add support for ELBv2
We're looking forward to a PR that supports the new appliation load balancers, but it doesn't look like the api even supports this yet. The docs still reference the old API rev. We'll have to wait and see when Amazon releases their gem with updated support
Perhaps I'm misinterpreting the response but it definitely looks like the new version of aws-sdk supports ELBv2:
This target group is one that I made through the console:
$ pry -raws-sdk
[1] pry(main)> elbv2 = Aws::ElasticLoadBalancingV2::Client.new
=> #<Aws::ElasticLoadBalancingV2::Client>
[2] pry(main)> elbv2.describe_target_groups
=> #<struct Aws::ElasticLoadBalancingV2::Types::DescribeTargetGroupsOutput
target_groups=
[#<struct Aws::ElasticLoadBalancingV2::Types::TargetGroup
target_group_arn="arn:aws:elasticloadbalancing:us-east-1:REDACTED:targetgroup/test-target-group/REDACTED",
target_group_name="test-target-group",
protocol="HTTP",
port=80,
vpc_id="vpc-REDACTED",
health_check_protocol="HTTP",
health_check_port="traffic-port",
health_check_interval_seconds=30,
health_check_timeout_seconds=10,
healthy_threshold_count=10,
unhealthy_threshold_count=2,
health_check_path="/",
matcher=#<struct Aws::ElasticLoadBalancingV2::Types::Matcher http_code="200">,
load_balancer_arns=
["arn:aws:elasticloadbalancing:us-east-1:REDACTED:loadbalancer/app/test-app-lb/REDACTED"]>],
next_marker=nil>
I haven't tried making any modifications yet but I have no reason to believe they won't work.
Unfortunately of course there are no ruby docs (yet?) for the new SDK but you can sort of piece your way through the commands by reading the model JSON.
PS. I'm actually working on a PR right now so if I can manage to get it done in a reasonable amount of time I'll try to address my own issue. ;-)
@eherot did you happen to get anywhere with your PR? Thanks!
@iennae I got some work done. Here's the WIP PR if you want to try to contribute to it in the mean time: #265
@eherot Do you have more updates to your PR?
Negative. Sorry!
This would be very helpful for instances managed by OpsWorks since it doesn't support ALB (ELB v2) yet. Looking forward to this feature.
Any update on when ALB's will be supported?