Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource group name not created with region from CLI #281

Closed
tbarlow12 opened this issue Aug 29, 2019 · 0 comments
Closed

Resource group name not created with region from CLI #281

tbarlow12 opened this issue Aug 29, 2019 · 0 comments
Assignees

Comments

@tbarlow12
Copy link
Contributor

Repro steps:

sls create -t azure-nodejs -p myNewApp
sls deploy
# Note that resource group name is sls-wus-dev-myNewApp-rg
sls deploy --region "East US"

Error message:

Error --------------------------------------------------

  Error: Invalid resource group location 'eastus'. The Resource group already exists in location 'westus'
tbarlow12 added a commit that referenced this issue Aug 29, 2019
Fixes a regression in accepting `region` and `stage` options from CLI to form resource group name. Adds acceptance of `prefix` as well. Does so by configuring each of them in `serverless.service` (`ServerlessAzureConfig`) as one of the first steps of the `BaseService` constructor.

Also puts `location` into `region` inside the config if `location` is specified, but `region` is not.

Resolves #280, #282 and #281
tbarlow12 added a commit that referenced this issue Aug 30, 2019
Fixes a regression in accepting `region` and `stage` options from CLI to form resource group name. Adds acceptance of `prefix` as well. Does so by configuring each of them in `serverless.service` (`ServerlessAzureConfig`) as one of the first steps of the `BaseService` constructor.

Also puts `location` into `region` inside the config if `location` is specified, but `region` is not.

Resolves #280, #282 and #281
tbarlow12 added a commit that referenced this issue Sep 13, 2019
Fixes a regression in accepting `region` and `stage` options from CLI to form resource group name. Adds acceptance of `prefix` as well. Does so by configuring each of them in `serverless.service` (`ServerlessAzureConfig`) as one of the first steps of the `BaseService` constructor.

Also puts `location` into `region` inside the config if `location` is specified, but `region` is not.

Resolves #280, #282 and #281
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants