Azure / Azure/azure-cli-extensions

`containerapp up` erroneously reported error creating Container App Env

Open
#5,567 4 comments 0 reactions 0 assignees View on GitHub
Auto-Assign ContainerApp needs-team-attention Service Attention
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

### Related command
`az containerapp up`

### Extension name (the extension in question)
`container app up`

### Description of issue (in as much detail as possible)

You can see in the screenshots below, but I ran the command once and got an error that the container app environment 'has not been provisioned successfully'. However, I checked the new resource group in the portal and found the container apps env. So I ran the command again, without any other changes and it completed successfully.

It looks like there was either a problem with timing out the request to create the container app env too soon, or a misinterpretation of the response from that request.

**Command**
![image](https://user-images.githubusercontent.com/74415662/203143669-68557e12-ea03-43af-8ab1-7f0e7658fae9.png)

**1st attempt output**
![image](https://user-images.githubusercontent.com/74415662/203143802-4cf55b24-3d5f-4f0a-8efa-5f0528fdfe20.png)

**Container Apps Env in the Portal**
image

**2nd attempt output**
![image](https://user-images.githubusercontent.com/74415662/203143880-316b3c6f-414e-4d63-bdcf-d91d54181fb5.png)

-----

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.