-
Notifications
You must be signed in to change notification settings - Fork 728
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
Update Snippets to use the latest version #5307
Comments
This seems to be heavily related to #622 |
Snippets are hand-authored and there is no guarantee that the same snippet code will work with a new API version. The only way to update a snippet to the latest version would be to edit the snippet source code in this repo. It would also be interesting if we could have a code/action refactoring that could "upgrade" an API version and account for any schema changes between versions. I suspect this would be tricky in practice and there would be a lot of edge cases. |
It would be great if we could create some sort of function call that adds in the latest date of a specific resource. The user should of course have the flexibility to change it to whatever they want afterwards.
Example:
VS Code gives us
but the latest version should be
It would be awesome of we have make this automatic for our resources to have something like resource virtualNetwork 'Microsoft.Network/virtualNetworks@`LatestVersionOfThisResource()' <-- func
I'm assuming that our latest has the most up to date best practices
The text was updated successfully, but these errors were encountered: