I'm trying to validate if a resource is deployed in correct resource group (as in if it's deployed in a resourceGroupName containing "core-services")?
An example:
If bastionHosts is deployed/created in a "core-services" resource group.
Does anyone know how to obtain the Azure Resource Information (a bastionHost) like resourceGroupName?