az webapp up doesn't check pricing tier
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.62
**Related command**
az webapp up --resource-group myAuthResourceGroup-diberry --name diberry-frontend-aad-2 --sku FREE --location "West Europe" --os-type Linux --logs --runtime "NODE:18-lts"
**Describe the bug**
BUG: The pricing tier FREE should be checked at the beginning of the command and stopped before the resource group and plan are created.
**To Reproduce**
Run command when the 1 free app is already created.
**Expected behavior**
Errors out before the resource group and plan are created.
**Environment summary**
**Additional context**
```
az webapp up --resource-group myAuthResourceGroup-diberry --name diberry-frontend-aad-2 --sku FREE --location "West Europe" --os-type Linux --logs --runtime "NODE:18-lts"
/usr/lib64/az/lib/python3.9/site-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
The webapp 'diberry-frontend-aad-2' doesn't exist
Creating Resource group 'myAuthResourceGroup-diberry' ...
Resource group creation complete
Creating AppServicePlan 'diberry_asp_3043' ...
This subscription has reached the limit of 1 Free Linux app service plan(s) it can create in this region. Please choose a different sku or region.
```
Contributor guide
Assessment
This issue has not been assessed yet.