We made the decision that, in general we would try to avoid polluting the AWS resources with properties and functionality not specified by AWS, and I don't think this scenario justifies deviation from that plan.
I think probably the best solution to this problem is to create a OS::Swift::Proxy resource, which would behave in a similar way to the AWS::ElasticLoadBalancing::LoadBalancer resource, in that it can be specified as an input to the AutoScalingGroup "LoadBalancerNames" property, then you could implement the required update-proxy-on-new-autoscaling-event functionality in the reload().
Doing it this way would just make the proxy a special type of load balancer, which seems to me a reasonable solution?
There is the question of whether we want to include potentially widely useful resources like this in heat, but for now you could create such a resource as a custom resource plugin (start by copying loadbalancer.py)
I don't think we should add FnGetAtt to the AutoScalingGroup resource, since no output for FnGetAtt is specified for this resource by AWS:
http:// docs.aws. amazon. com/AWSCloudFor mation/ latest/ UserGuide/ aws-properties- as-group. html
We made the decision that, in general we would try to avoid polluting the AWS resources with properties and functionality not specified by AWS, and I don't think this scenario justifies deviation from that plan.
I think probably the best solution to this problem is to create a OS::Swift::Proxy resource, which would behave in a similar way to the AWS::ElasticLoa dBalancing: :LoadBalancer resource, in that it can be specified as an input to the AutoScalingGroup "LoadBalancerNames" property, then you could implement the required update- proxy-on- new-autoscaling -event functionality in the reload().
Doing it this way would just make the proxy a special type of load balancer, which seems to me a reasonable solution?
There is the question of whether we want to include potentially widely useful resources like this in heat, but for now you could create such a resource as a custom resource plugin (start by copying loadbalancer.py)
http:// wiki.openstack. org/Heat/ Plugins