Closed v-jiaodi closed 6 months ago
@weikanglim can you triage to see if core asa azd deploy or template specific issue?
cc @yiliuTo @saragluna from ASA team to also take a look.
At a glance, this is happening since the container app is being deployed into what seems like a separate Spring Apps managed resource group.
After provisioning, I have:
rg-weilim-asa-eda-<random>
-- The resource group that hosts all the resourcesenv-<random>_SpringApps_<random guid>
-- This resource group hosts only the container app instanceThanks @weikanglim
From the docs, https://github.com/Azure-Samples/ASA-Samples-Event-Driven-Application?tab=readme-ov-file#quickstart after setting the plan to azd env set PLAN standard
seems to be deploying fine.
Deploying services (azd deploy)
(✓) Done: Deploying service simple-event-driven-app
- No endpoints were found
SUCCESS: Your application was deployed to Azure in 1 minute 14 seconds.
But, the default Standard consumption and dedicated plan(preview)
seems to be broken.
@yiliuTo can you help triaging? seems related - https://github.com/Azure-Samples/ASA-Samples-Event-Driven-Application/pull/12
Thanks @rajeshkamal5050 @weikanglim @v-jiaodi , @fangjian0423 will look into this issue.
The root case of this issue is Azure Spring Apps standard consumption and dedicated plan will create 2 resource groups with same tags, but AZD expect to get only 1 resource group with those tags.
We will output resource group name in our ASA template bicep to resolve it.
Thanks @fangjian0423
This also needs the same fix https://github.com/Azure-Samples/ASA-Samples-Web-Application/ ?
Thanks @fangjian0423
This also needs the same fix https://github.com/Azure-Samples/ASA-Samples-Web-Application/ ?
Correct, maybe all ASA templates need to update, we will handle it.
@fangjian0423 @yiliuTo can we get the remaining PR's merged.
Describe the issue: Test
ASA-Samples-Event-Driven-Application
template on DevContainer. Runazd up
, get error as follow:Run
azd pipeline config
get same error:Repro Steps:
azd auth login
.azd init -t ASA-Samples-Event-Driven-Application
.azd up
.azd pipeline config
.Environment:
Expected behavior: Run
azd up
andazd pipeline config
can pass.@rajeshkamal5050 for notification.