When Authoring Azure Resource Manager templates my preferred tool is VSCode, previous it was ATOM but that was a long time ago…
VSCode out of the box needs some extensions to give a richer Authoring experience, in this post I am trying to guide to some great extensions.
I have two great resources to share to get a complete ARM extension list to install.
Resources
- First I would advise you to spend 14 minutes on this excellent video by @SamCoga
- Then check out day 17 of the excellent initiative 100 days of IAC by @reirujo and @pzerger / Ryan (github:starkfell) and Pete (github:pzerger)
From these resources you will get a nice complete toolset extension list to install.
Extensions
From the resources some are overlapping, and some are not directly relating to ARM templating so I made the below list to more direct get you to the point.
- Azure Resource Manager Tools – https://marketplace.visualstudio.com/items?itemName=msazurermtools.azurerm-vscode-tools
- Azure Resource Manager Snippets – https://marketplace.visualstudio.com/items?itemName=samcogan.arm-snippets
- PowerShell Extension – https://marketplace.visualstudio.com/items?itemName=ms-vscode.PowerShell
- Azure CLI Tools – https://marketplace.visualstudio.com/items?itemName=ms-vscode.azurecli
- Azure Repos – https://marketplace.visualstudio.com/items?itemName=ms-vsts.team
- Azure Account Extension – https://marketplace.visualstudio.com/items?itemName=ms-vscode.azure-account
- ARM Params Generator – https://marketplace.visualstudio.com/items?itemName=wilfriedwoivre.arm-params-generator
- ARM Template Helper – https://marketplace.visualstudio.com/items?itemName=ed-elliott.azure-arm-template-helper
- ARM Template Viewer – https://marketplace.visualstudio.com/items?itemName=bencoleman.armview
Command line installation
If you have installed Git you can also install the extensions via command (if installing now please choose default editor to be VSCode during the installation)
Chose the bash terminal in VSCode and run the commands
(If you are running the insiders VSCode then add -insiders to the command ex: code-insiders –install-extension msazurermtools.azurerm-vscode-tools –force )
- code –install-extension msazurermtools.azurerm-vscode-tools –force
- code –install-extension samcogan.arm-snippets –force
- code –install-extension wilfriedwoivre.arm-params-generator –force
- code –install-extension ed-elliott.azure-arm-template-helper –force
- code –install-extension bencoleman.armview –force
- code –install-extension ms-vscode.PowerShell –force
- code –install-extension ms-vscode.azurecli –force
- code –install-extension ms-vsts.team –force
- code –install-extension vscode.azure-account –force
Additional resources
- Great get started with ARM: https://docs.microsoft.com/en-us/azure/azure-resource-manager/template-tutorial-create-first-template?tabs=azure-powershell
- Use a Win GUI for your git, I use GitHub Desktop for Windows
One thought on “VSCode Extensions for ARM template authoring”