I’m trying to create an Octopus Azure WebApp target with multiple roles via the Powershell library.
I’ve created using
New-OctopusAzureWebAppTarget -Name $myAppName -AzureWebApp $myAppName -AzureResourceGroupName $resourceGroup -OctopusAccountIdOrName $azureAccount -OctopusRoles $roles -updateIfExisting;
If tried with $roles = @(“role1”, “role2”) and with $roles = “role1”, “role2”
In both cases, it creates the target with a single tag “role1 role2” which isn’t what I would expect this to do.
Is my expectation off or is this a bug?