Skip to content

Intellisense showing invalid argument for az group name: --rg-name #44

@aws-scripting-guy

Description

@aws-scripting-guy

Using latest Azure CLI tools for VS Code 0.4.2

Steps to reproduce the issue:

  1. 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)

  2. Right-click and Run line in the terminal
    az group create --rg-name myGroup2 \
    --location westeurope --tags 'Environment=Test'

  3. Output
    az group show: error: argument --name/-n/--resource-group/-g is required

azure_cli_rg_name
azure_cli_rg_name_missing_help

Solution:
pass argument -n or --name for resource group name

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions