Allow the addition of all host from an AWS auto scaling group with one command
ecstasy2 opened this issue · 3 comments
I think this could be a great addition to this tool and I could contribute a PR if that is a welcome addition.
That sounds great! Would this command handle removing instances that no longer exist in the auto scaling group as well?
Was thinking of a command that would create a cluster based on an autoscaling group.
I don't know if the current implementation allows for that, but basically before running a command on a cluster we would update the list of instances in it before continuing. Which mean that the user won't need to add/update instances at all.
That makes sense. So once you get a list of ec2 instances, you can just overwrite (or create) the cluster data. Any thoughts about command name? overcast aws sync-auto-scaling-group [cluster] [auto-scaling-group-name]
?