Describe the issue
Minor UI issue, but the CLI does not seem to exit automatically after I get this error.
The error itself is probably normal, where I was deploying to Azure a second time to the same region (since the first time it failed because the project name defang-provider-handoff was too long).
2026-05-06T15:25:33.341-07:00 defang-cd 2026-05-06T22:25:33.093651036Z [defang-etag=commit111] + azure-native:app:ManagedEnvironment shorter-name **creating failed** error: Status=409 Code="MaxNumberOfRegionalEnvironmentsInSubExceeded" Message="The subscription [I've omitted the ID but it goes here] cannot have more than 1 Container App Environments in West US 2. For more information, visit: https://go.microsoft.com/fwlink/?linkid=2208872"
2026-05-06T15:26:34.086-07:00 defang-cd 2026-05-06T22:26:33.84566 No logs since last 60 seconds
Repo steps
-
defang compose up on the defang provider handoff sample, let it fail.
-
then change name field in compose.yaml to something shorter, like shorter-name
-
then defang compose up again on the same region to see the error.
Expected results
the CLI should exit on its own
Actual results
the CLI does not exit on its own
Describe the issue
Minor UI issue, but the CLI does not seem to exit automatically after I get this error.
The error itself is probably normal, where I was deploying to Azure a second time to the same region (since the first time it failed because the project name
defang-provider-handoffwas too long).Repo steps
defang compose upon the defang provider handoff sample, let it fail.then change
namefield in compose.yaml to something shorter, likeshorter-namethen
defang compose upagain on the same region to see the error.Expected results
the CLI should exit on its own
Actual results
the CLI does not exit on its own