Azure / Azure/azure-cli-extensions
"az containerapp env create" returns before resource is in a usable state
- Dominant language
- Python
- Stars
- 454
- Forks
- 1.7k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 64
Description
## Describe the bug
**Command Name**
`az containerapp env create
Extension Name: containerapp. Version: 0.3.5.`
**Errors:**
```
none
```
## To Reproduce:
Steps to reproduce the behavior:
- `az containerapp env create --name testenv -g rg-test --location westeurope`
## Expected Behavior
I would expect that the cli returns when the ContainerApps environment is actually created and in a usable state, consistently to what happens for other resource providers I have encountered so far.
However, I have noticed that this is not always the case, especially if you pass the `--infrastructure-subnet-resource-id` parameter.
## Environment Summary
```
Windows-10-10.0.22000-SP0
Python 3.10.4
Installer:
azure-cli 2.37.0
Extensions:
containerapp 0.3.5
Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1
```
## Additional Context
Contributor guide
Assessment
This issue has not been assessed yet.