Skip to content

Please suggest how to deploy into multiple subscriptions in bicep. #4656

Answered by brwilkinson
azureiac asked this question in Q&A
Discussion options

You must be logged in to vote

As mentioned above.

Notice that the resourcegroup() method can take the parameters for the subscription and the resourcegroup and can be used for the Scope property

resourceGroup(subscriptionId, resourceGroupName)

https://docs.microsoft.com/en-us/azure/azure-resource-manager/bicep/bicep-functions-scope#resourcegroup

Replies: 4 comments 13 replies

Comment options

You must be logged in to vote
10 replies
@azureiac
Comment options

@brwilkinson
Comment options

@azureiac
Comment options

@brwilkinson
Comment options

@brwilkinson
Comment options

Comment options

You must be logged in to vote
1 reply
@brwilkinson
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@azureiac
Comment options

@brwilkinson
Comment options

Answer selected by azureiac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants