You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -197,14 +199,16 @@ To create a pipeline with a step to deploy a template:
197
199
198
200
Make the following changes:
199
201
200
-
* **azureSubscription**: update the value with the service connection created in the previous procedure.
202
+
* **deloymentScope**: Select the scope of deployment from the options: `Management Group`, `Subscription` and `Resource Group`. Use **Resource Group** in this tutorial. To learn more about the scopes, see [Deployment scopes](./resource-group-template-deploy-rest.md#deployment-scope).
203
+
* **ConnectedServiceName**: Specify the service connection name that you created earlier.
204
+
* **SubscriptionName**: Specify the target subscription ID.
201
205
* **action**: the **Create Or Update Resource Group** action does 2 actions - 1. create a resource group if a new resource group name is provided; 2. deploy the template specified.
202
206
* **resourceGroupName**: specify a new resource group name. For example, **AzureRmPipeline-rg**.
203
207
* **location**: specify the location for the resource group.
204
208
* **templateLocation**: when **Linked artifact** is specified, the task looks for the template file directly from the connected repository.
205
209
* **csmFile** is the path to the template file. You don't need to specify a template parameters file because all of the parameters defined in the template have default values.
206
210
207
-
For more information about the task, see [Azure Resource Group Deployment task](/azure/devops/pipelines/tasks/deploy/azure-resource-group-deployment)
211
+
For more information about the task, see [Azure Resource Group Deployment task](/azure/devops/pipelines/tasks/deploy/azure-resource-group-deployment), and [Azure Resource Manager template deployment task](https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/AzureResourceManagerTemplateDeploymentV3/README.md)
208
212
1. Select **Save and run**.
209
213
1. Select **Save and run** again. A copy of the YAML file is saved into the connected repository. You can see the YAML file by browse to your repository.
210
214
1. Verify that the pipeline is executed successfully.
0 commit comments