Skip to content

Commit 4a2fe7e

Browse files
authored
Merge pull request #96351 from jeremytanyz/patch-1
Invalid JSON in Deploy scripts (ordered)
2 parents 0e4f104 + b3dd5ed commit 4a2fe7e

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

articles/virtual-machines/linux/run-command-managed.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -180,18 +180,18 @@ To deploy scripts sequentially, use a deployment template, specifying a `depends
180180

181181
```json
182182
{
183-
"type":"Microsoft.Compute/virtualMachines/runCommands",
184-
"name":"secondRunCommand",
185-
"apiVersion":"2019-12-01",
186-
"location":"[parameters('location')]",
187-
"dependsOn":<full resourceID of the previous other Run Command>,
188-
"properties": {
189-
"source": { 
190-
"script":"echo Hello World!"
191-
},
192-
"timeoutInSeconds": 60 
183+
"type":"Microsoft.Compute/virtualMachines/runCommands",
184+
"name":"secondRunCommand",
185+
"apiVersion":"2019-12-01",
186+
"location":"[parameters('location')]",
187+
"dependsOn":<full resourceID of the previous other Run Command>,
188+
"properties":{
189+
"source":{
190+
"script":"echo Hello World!"
191+
},
192+
"timeoutInSeconds":60
193193
}
194-
}
194+
}
195195
```
196196

197197
### Execute multiple Run Commands sequentially

0 commit comments

Comments
 (0)