Skip to content

Commit 5a45e7d

Browse files
Merge pull request #184389 from daphnemamsft/biceptemplatedeploypermissions
Added Include file for Bicep and Arm Template Permissions
2 parents f030772 + 78e5c3c commit 5a45e7d

File tree

8 files changed

+28
-0
lines changed

8 files changed

+28
-0
lines changed

articles/azure-resource-manager/bicep/deploy-cli.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ Samples for the Azure CLI are written for the `bash` shell. To run this sample i
2525

2626
If you don't have Azure CLI installed, you can use Azure Cloud Shell. For more information, see [Deploy Bicep files from Azure Cloud Shell](./deploy-cloud-shell.md).
2727

28+
[!INCLUDE [permissions](../../../includes/template-deploy-permissions.md)]
29+
2830
## Deployment scope
2931

3032
You can target your deployment to a resource group, subscription, management group, or tenant. Depending on the scope of the deployment, you use different commands.

articles/azure-resource-manager/bicep/deploy-powershell.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ You need Azure PowerShell and to be connected to Azure:
2222

2323
If you don't have PowerShell installed, you can use Azure Cloud Shell. For more information, see [Deploy Bicep files from Azure Cloud Shell](./deploy-cloud-shell.md).
2424

25+
[!INCLUDE [permissions](../../../includes/template-deploy-permissions.md)]
26+
2527
## Deployment scope
2628

2729
You can target your deployment to a resource group, subscription, management group, or tenant. Depending on the scope of the deployment, you use different commands.

articles/azure-resource-manager/templates/deploy-cli.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ The deployment commands changed in Azure CLI version 2.2.0. The examples in this
1717

1818
If you don't have Azure CLI installed, you can use Azure Cloud Shell. For more information, see [Deploy ARM templates from Azure Cloud Shell](deploy-cloud-shell.md).
1919

20+
[!INCLUDE [permissions](../../../includes/template-deploy-permissions.md)]
21+
2022
## Deployment scope
2123

2224
You can target your Azure deployment template to a resource group, subscription, management group, or tenant. Depending on the scope of the deployment, you use different commands.

articles/azure-resource-manager/templates/deploy-cloud-shell.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ You can use [Azure Cloud Shell](../../cloud-shell/overview.md) to deploy an Azur
1111

1212
You can deploy to any scope. This article shows deploying to a resource group.
1313

14+
[!INCLUDE [permissions](../../../includes/template-deploy-permissions.md)]
15+
1416
## Deploy remote template
1517

1618
To deploy an external template, provide the URI of the template exactly as you would for any external deployment. The external template could be in a GitHub repository or and an external storage account.

articles/azure-resource-manager/templates/deploy-powershell.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ You need to install Azure PowerShell and connect to Azure:
2121

2222
If you don't have PowerShell installed, you can use Azure Cloud Shell. For more information, see [Deploy ARM templates from Azure Cloud Shell](deploy-cloud-shell.md).
2323

24+
[!INCLUDE [permissions](../../../includes/template-deploy-permissions.md)]
25+
2426
## Deployment scope
2527

2628
You can target your deployment to a resource group, subscription, management group, or tenant. Depending on the scope of the deployment, you use different commands.

articles/azure-resource-manager/templates/deploy-rest.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ This article explains how to use the Azure Resource Manager REST API with Azure
1111

1212
You can either include your template in the request body or link to a file. When using a file, it can be a local file or an external file that is available through a URI. When your template is in a storage account, you can restrict access to the template and provide a shared access signature (SAS) token during deployment.
1313

14+
[!INCLUDE [permissions](../../../includes/template-deploy-permissions.md)]
15+
1416
## Deployment scope
1517

1618
You can target your deployment to a resource group, Azure subscription, management group, or tenant. Depending on the scope of the deployment, you use different commands.

articles/azure-resource-manager/templates/deploy-to-azure-button.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ The deployment scope is determined by the template schema. For more information,
1616
- [management groups](deploy-to-management-group.md)
1717
- [tenants](deploy-to-tenant.md)
1818

19+
[!INCLUDE [permissions](../../../includes/template-deploy-permissions.md)]
20+
1921
## Use common image
2022

2123
To add the button to your web page or repository, use the following image:
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
3+
ms.author: daphnemamsft
4+
ms.service: bicep, arm-templates
5+
ms.topic: include
6+
ms.date: 1/07/2022
7+
8+
---
9+
10+
## Required permissions
11+
12+
To deploy a Bicep file or ARM template, you need write access on the resources you're deploying and access to all operations on the Microsoft.Resources/deployments resource type. For example, to deploy a virtual machine, you need `Microsoft.Compute/virtualMachines/write` and `Microsoft.Resources/deployments/*` permissions.
13+
14+
For a list of roles and permissions, see [Azure built-in roles](../articles/role-based-access-control/built-in-roles.md).

0 commit comments

Comments
 (0)