Azure / Azure/custom-script-extension-linux

Incorrect Documentation for ARM template

Open
#234 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
113
Forks
46
Avg merge
6d 3h
Merged PRs (30d)
3

Description

According to the [documentation](https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/custom-script-linux#template-deployment) this is a valid template:

```json
{
"name": "config-app",
"type": "Extensions",
"location": "[resourceGroup().location]",
"apiVersion": "2019-03-01",
"dependsOn": [
"[concat('Microsoft.Compute/virtualMachines/', concat(variables('vmName'),copyindex()))]"
],
"tags": {
"displayName": "config-app"
},
"properties": {
"publisher": "Microsoft.Azure.Extensions",
"type": "CustomScript",
"typeHandlerVersion": "2.1",
"autoUpgradeMinorVersion": true,
"settings": {
"skipDos2Unix":false,
"timestamp":123456789
},
"protectedSettings": {
"commandToExecute": "",
"script": "",
"storageAccountName": "",
"storageAccountKey": "",
"fileUris": ["https://.."],
"managedIdentity" : ""
}
}
}
```

Unfortunately it is not since the `"type": "Extensions",` is invalid as this error is showed when try to deploy: _the property type is invalid_ for this template resource.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.