Azure / Azure/ResourceModules

document and command samples for Mac/Linux users

Open
#1,235 5 comments 0 reactions 1 assignee Claimed by @arnoldna View on GitHub
documentation enhancement
Dominant language
PowerShell
Stars
737
Forks
436
Avg merge
10d 7h
Merged PRs (30d)
1

Description

## Description

ref : https://github.com/Azure/ResourceModules/blob/main/docs/wiki/The%20library%20-%20Module%20usage.md

Currently both sample for PowerUser and Azure CLI are for Windows Users

I'd like to change the sample part of `Azure CLI` to pure Mac/Linux usage:

From

```bash
az group create --name 'ExampleGroup' --location "Central US"
$inputObject = @(
'--name', 'ExampleDeployment',
'--resource-group', 'ExampleGroup',
'--template-file', "$home\ResourceModules\arm\Microsoft.KeyVault\vault\deploy.bicep",
'--parameters', 'storageAccountType=Standard_GRS',
)
az deployment group create @inputObject
```
to

```bash
az group create --name 'ExampleGroup' --location "Central US"
inputObject=(
'--name' 'ExampleDeployment'
'--resource-group' 'ExampleGroup'
'--template-file' "$home/ResourceModules/arm/Microsoft.KeyVault/vault/deploy.bicep"
'--parameters' 'storageAccountType=Standard_GRS'
)
az deployment group create ${inputObject[@]}
```

if you agree this idea, I can raise PR to update it

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.