Bicep version
Bicep CLI version 0.4.63 (7ebed03284)
Describe the bug
When running the decompile cmd from Azure CLI 2.24.2 I get an error from Bicep saying:
Warning BCP036: The property "scmType" expected a value of type "'BitbucketGit' | 'BitbucketHg' | 'CodePlexGit' | 'CodePlexHg' | 'Dropbox' | 'ExternalGit' | 'ExternalHg' | 'GitHub' | 'LocalGit' | 'None' | 'OneDrive' | 'Tfs' | 'VSO' | null" but the provided value is of type "'VSTSRM'".
This is the breviated resource:
{ "type": "Microsoft.Web/sites/config", "apiVersion": "2018-11-01", ... "properties": { ... "scmType": "VSTSRM", ... } }
Bicep version Bicep CLI version 0.4.63 (7ebed03284)
Describe the bug When running the decompile cmd from Azure CLI 2.24.2 I get an error from Bicep saying:
Warning BCP036: The property "scmType" expected a value of type "'BitbucketGit' | 'BitbucketHg' | 'CodePlexGit' | 'CodePlexHg' | 'Dropbox' | 'ExternalGit' | 'ExternalHg' | 'GitHub' | 'LocalGit' | 'None' | 'OneDrive' | 'Tfs' | 'VSO' | null" but the provided value is of type "'VSTSRM'".
This is the breviated resource:
{ "type": "Microsoft.Web/sites/config", "apiVersion": "2018-11-01", ... "properties": { ... "scmType": "VSTSRM", ... } }
According to the documentation, VSTSRM is a valid input. Our repo is located in Azure DevOps. https://docs.microsoft.com/en-us/azure/templates/microsoft.web/sites/config-web?tabs=json
To Reproduce Setup an ARM template with a resource such as above. Run
az bicep decompile --file <template.json>