appleboy / drone-ssh

Drone plugin for executing remote ssh commands
MIT License
251 stars 74 forks source link

Support for dynamic target host group #270

Closed noreebia closed 4 months ago

noreebia commented 8 months ago

Hey, thanks for making this Drone plugin - we are using it almost every day at my workplace.

Would it be possible to enable support for hosts to be dynamically configured? Our AWS EC2 instances are created and destroyed depending on the traffic via auto scaling groups, so the list of target hosts are dynamic and not fixed.

It seems there was an attempt to do what I am explaining by a different contributor in this issue, but it seems to have been rolled back in this commit.

May I ask if there is any way for the target host group to be dynamically calculated on the fly?

appleboy commented 4 months ago

@noreebia Sorry about it. I will take it.