rundeck-plugins / rundeck-azure-plugin

8 stars 16 forks source link

RSE-109: Enh: Allow Azure resource model to filter by many resourceGroups #32

Closed L2JE closed 2 years ago

L2JE commented 2 years ago

Ticket: https://pagerduty.atlassian.net/browse/RSE-109

Problem

This plugin was able to select all VMs or the VMs on ONE resource group only.

Solution

Now it is possible get VMs from more than one resource group using the semicolon (;). Besides that a space at each side of the ; is accepted for better user's readability Valid Resource group examples

RG1;RG2;RG3
RG1; RG2; RG3
RG1 ; RG2 ; RG3
RG1 ;RG2 ;RG3

The plugin will take that list and fetch the VMs from each resource group before joining them in the list of node that will be returned to rundeck