You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Typing in .azcli file
az group create
Intellisense suggesting --rg-name as required argument for group name. There is also missing help (stuck in Loading)
Right-click and Run line in the terminal
az group create --rg-name myGroup2 \
--location westeurope --tags 'Environment=Test'
Output
az group show: error: argument --name/-n/--resource-group/-g is required
Solution:
pass argument -n or --name for resource group name
The text was updated successfully, but these errors were encountered:
Same problem with "--vm-name" that is suggested by VSCode vs "--name" that is actually expected by az cli.
I think this should not be closed as it is very much an issue.
Using latest Azure CLI tools for VS Code 0.4.2
Steps to reproduce the issue:
Typing in .azcli file
az group create
Intellisense suggesting --rg-name as required argument for group name. There is also missing help (stuck in Loading)
Right-click and Run line in the terminal
az group create --rg-name myGroup2 \
--location westeurope --tags 'Environment=Test'
Output
az group show: error: argument --name/-n/--resource-group/-g is required
Solution:
pass argument -n or --name for resource group name
The text was updated successfully, but these errors were encountered: