forked from planetpowershell/planetpowershell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
arm_template.yml
29 lines (28 loc) · 882 Bytes
/
arm_template.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
parameters:
- name: resourceGroup
type: string
- name: connectionName
type: string
- name: subscriptionID
type: string
- name: azureDeployParameters
type: string
- name: deploymentMode
type: string
default: 'Validation'
steps:
- checkout: self
clean: true
persistCredentials: true
- task: AzureResourceManagerTemplateDeployment@3
inputs:
deploymentScope: 'Resource Group'
azureResourceManagerConnection: ${{ parameters.connectionName }}
subscriptionId: ${{ parameters.subscriptionID }}
action: 'Create Or Update Resource Group'
resourceGroupName: ${{ parameters.resourceGroup }}
location: 'East US 2'
templateLocation: 'Linked artifact'
csmFile: '$(System.DefaultWorkingDirectory)/src/AzureDeploy/azuredeploy.json'
overrideParameters: ${{ parameters.azureDeployParameters }}
deploymentMode: ${{ parameters.deploymentMode }}