Skip to content

Commit

Permalink
create SWA in user-provided Resource Group
Browse files Browse the repository at this point in the history
  • Loading branch information
rupareddy5-21 committed Dec 2, 2022
1 parent 2cd0e98 commit ca856be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/www/docs/cli/swa-deploy.md
Expand Up @@ -163,7 +163,7 @@ Here are the options you can use with `swa deploy`:
- `-pt, --print-token`: print the deployment token (default: `false`)
- `--env [environment]`: the type of deployment environment where to deploy the project (default: "`preview`")
- `-S, --subscription-id <subscriptionId>`: Azure subscription ID used by this project (default: `process.env.AZURE_SUBSCRIPTION_ID`)
- `-R, --resource-group <resourceGroupName>`: Azure resource group used by this project
- `-R, --resource-group-name <resourceGroupName>`: Azure resource group used by this project
- `-T, --tenant-id <tenantId>`: Azure tenant ID (default: `process.env.AZURE_TENANT_ID`)
- `-C, --client-id <clientId>`: Azure client ID
- `-CS, --client-secret <clientSecret>`: Azure client secret
Expand Down
2 changes: 1 addition & 1 deletion docs/www/docs/cli/swa-login.md
Expand Up @@ -20,7 +20,7 @@ This command is used to authenticate with Azure and get a deployment token that
Here are the options you can use with `swa login`:

- `-S, --subscription-id <subscriptionId>`: Azure subscription ID used by this project (default: `process.env.AZURE_SUBSCRIPTION_ID`)
- `-R, --resource-group <resourceGroupName>`: Azure resource group used by this project
- `-R, --resource-group-name <resourceGroupName>`: Azure resource group used by this project
- `-T, --tenant-id <tenantId>`: Azure tenant ID (default: `process.env.AZURE_TENANT_ID`)
- `-C, --client-id <clientId>`: Azure client ID
- `-CS, --client-secret <clientSecret>`: Azure client secret
Expand Down
2 changes: 1 addition & 1 deletion src/cli/commands/login.ts
Expand Up @@ -15,7 +15,7 @@ const { readFile, writeFile } = fsPromises;
export function addSharedLoginOptionsToCommand(command: Command) {
command
.option("-S, --subscription-id <subscriptionId>", "Azure subscription ID used by this project", DEFAULT_CONFIG.subscriptionId)
.option("-R, --resource-group <resourceGroupName>", "Azure resource group used by this project", DEFAULT_CONFIG.resourceGroupName)
.option("-R, --resource-group-name <resourceGroupName>", "Azure resource group used by this project", DEFAULT_CONFIG.resourceGroupName)
.option("-T, --tenant-id <tenantId>", "Azure tenant ID", DEFAULT_CONFIG.tenantId)
.option("-C, --client-id <clientId>", "Azure client ID", DEFAULT_CONFIG.clientId)
.option("-CS, --client-secret <clientSecret>", "Azure client secret", DEFAULT_CONFIG.clientSecret)
Expand Down

0 comments on commit ca856be

Please sign in to comment.