Microsoft.Resources/deploymentScripts warning
See original GitHub issueARM resource templates with:
"type": "Microsoft.Resources/deploymentScripts"
Are flagged with a warning:
Value must be one of the following values: "Microsoft.HealthcareApis/services", "Microsoft.AppConfiguration/configurationStores", ...
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Microsoft.Resources deploymentScripts
Azure Microsoft.Resources/deploymentScripts syntax and properties to use in Azure Resource Manager templates for deploying the resource.
Read more >0 - Stack Overflow
I am going to configure created azure VM (for example, install role, initialize new hdd disk etc). I see that there is a...
Read more >deploymentScripts validation fail when kind value is not ...
Validation of Microsoft.Resources/deploymentScripts@2020-10-01 fail to understand when the value for kind is a parameter or variable.
Read more >Learn Live - Extend ARM templates by using deployment scripts
Follow on Microsoft Learn: - Microsoft Learn Module: https://aka.ms/learnlive-20220614A Add custom steps to your Bicep or JSON Azure ...
Read more >Exploring ARM Templates: Azure Resource Manager Tutorial
ARM stands for Azure Resource Manager, which is Microsoft's deployment and ... deployment scripts to handle multiple deployment scenarios.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks. That does the trick. I agree with keeping the strict validation.
From: Stephen Weatherford (MSFT) @.> Sent: Thursday, April 1, 2021 3:10 PM To: microsoft/vscode-azurearmtools @.> Cc: Kenneth Benjamin @.>; Mention @.> Subject: Re: [microsoft/vscode-azurearmtools] Microsoft.Resources/deploymentScripts warning (#1271)
Unfortunately, the error message is difficult to read. It comes from the way JSON validation works. Here’s the error again: [image]https://user-images.githubusercontent.com/6913354/113341774-6d5ce200-92e2-11eb-9226-c9df29d16aaf.png Read it like this:
Was expecting either:
So all that’s wrong is that you need to change forceUpdateTag to be a string.
It deploys because the Azure backend (unfortunately) will magically convert strings to numbers and vice versa when needed. This doesn’t play well with JSON schema validation and we experimented with allowing that for the validation, but it caused too many problems and we decided to have the validation remain strict with data types.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode-azurearmtools/issues/1271#issuecomment-812113504, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS4YVTOMAHVLKXXBJVXPGB3TGTAJLANCNFSM42FJNFOA.
It does deploy without them, but I’ll update the scripts to clean it up. Thanks 😊
From: Stephen Weatherford (MSFT) @.> Sent: Wednesday, March 31, 2021 5:30 PM To: microsoft/vscode-azurearmtools @.> Cc: Kenneth Benjamin @.>; Mention @.> Subject: Re: [microsoft/vscode-azurearmtools] Microsoft.Resources/deploymentScripts warning (#1271)
Docs say its not required, but I suspect that either azPowerShellVersion or azCLIVersion is required, although if it deploys without them, technically it’s a schema bug.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode-azurearmtools/issues/1271#issuecomment-811478229, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS4YVTKVBLD4MMFHMEKEWCTTGOH45ANCNFSM42FJNFOA.