Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft.Web/sites 2020-12-01 apiVersion warning #1781

Open
Elyseum opened this issue Jul 1, 2021 · 3 comments
Open

Microsoft.Web/sites 2020-12-01 apiVersion warning #1781

Elyseum opened this issue Jul 1, 2021 · 3 comments
Assignees

Comments

@Elyseum
Copy link

Elyseum commented Jul 1, 2021

Latest version is 2020-12-01:
https://docs.microsoft.com/en-us/azure/templates/microsoft.web/2020-12-01/sites?tabs=json

But for "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", the last version available is '2018-11-01'.

VS / VSCode gives following warning:
"consider updating the value to one of the following: "2016-08-01", "2014-06-01", "2015-08-01", "2018-02-01", "2018-11-01". It is possible that the current resource version is valid but that a schema has not been generated."

@ghost ghost added the Needs: Triage 🔎 label Jul 1, 2021
@azcloudfarmer
Copy link
Collaborator

@anthony-c-martin do you know if this error is coming from our side?

@anthony-c-martin
Copy link
Member

@anthony-c-martin do you know if this error is coming from our side?

Yes - this is the message you get when the VSCode extension doesn't know about the schema. This schema was published a while back (https://github.com/Azure/azure-resource-manager-schemas/commits/main/schemas/2020-10-01/Microsoft.Web.json). @StephenWeatherford may be able to confirm if it's been bundled in the latest ARM Tools release or not. If not, then it might be worth pushing an update to pick it up.

@StephenWeatherford
Copy link

The last snapshot was June 25, so we missed this. We're currently blocked for picking up new schemas by microsoft/vscode-azurearmtools#1324. As soon as that is fixed, we'll try picking it up, hopefully within 2-3 weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants