Closed plamber closed 8 months ago
I saw that you are also requiring this information on a subscription level which to my understanding is also not required.
This is indeed the case. Would love to know the 'why?' (and can my bicep files benefit from this? I'm currently feeding in a location parameter by hand which looks redundant now).
This is explained here - deployments are a regional resource, so it's the Azure region used to store deployment data and execute the deployment. For "resource group scoped" deployments, we just inherit the resource group location; for deployments at other scope, there is no implicit location to inherit.
It can be useful to be intentional about the location if you have requirements about data residency.
Hello, thank you for creating this GitHub action. We are trying to deploy it to our management groups. I am not sure why I have to specify a region parameter when doing a deployment by the management group. We are performing the deployment using a bicep file.
When looking at the CLI I am using these parameters to perform a management group deployment. There is no region parameter in it.
Is my assumption right that the region parameter should be made optional and not required as implemented here? https://github.com/Azure/arm-deploy/blob/ba158a2e9c06f146e7c2c6d603b5c5a631800afa/src/deploy/scope_managementgroup.ts#L8
I saw that you are also requiring this information on a subscription level which to my understanding is also not required.
Thank you for your feedback, Patrick