Azure / arm-deploy

ARM action to deploy an Azure Resource Manager (ARM) template to all the deployment scopes
MIT License
83 stars 39 forks source link

Deploy Bicep without Resourcegroup defined in the GitHub Actions Workflow #110

Closed aavdberg closed 2 years ago

aavdberg commented 2 years ago

Having the following problem with using the Azure/arm-deploy@v1 action, namely how can I deploy without specifying a resourcegroup .

image

t-dedah commented 2 years ago

Hi @aavdberg as the scope is managementgroup, we dont have to specify resourceGroupName which is also mentioned here. May I know the problem you are facing while running the workflow?

aavdberg commented 2 years ago

I had to add the following:

managementGroupId: ${{ secrets.AZURE_ALZITEU_MANAGEMENTGROUP_ID }}

and then it worked