Open christiannagel opened 6 months ago
This is the current behavior for Preview 4. Lets use this issue for any changes required for Preview 5.
cc @vhvb1989 @davidfowl
When using this azd version: azd version 1.7.0-beta.1-pr.3529927 (commit 3fd6b51198b3a530a35c4edfc4ade0c1e7c92c25)
I see a different behavior:
(✓) Done: Resource group: rg-codeberaker-12p4b
(✓) Done: Log Analytics workspace: law-x24r45v4bmrra
(✓) Done: Key Vault: cosmoskvx24r45v4bmrra
(✓) Done: Container Registry: acrx24r45v4bmrra
(✓) Done: Container Apps Environment: cae-x24r45v4bmrra
(✓) Done: Container App: redis
(✓) Done: Azure Cosmos DB: cosmosx24r45v4bmrra
(x) Failed: Application Insights: appinsights-x24r45v4bmrra
ERROR: deployment failed: failing invoking action 'provision', error deploying infrastructure: deploying to subscription:
Deployment Error Details:
BadRequest: WorkspaceResourceId is not in valid format
TraceID: 3f53cf0b74851e9d0186b57769dd0616
ERROR: error executing step command 'provision': deployment failed: failing invoking action 'provision', error deploying infrastructure: deploying to subscription:
Deployment Error Details:
BadRequest: WorkspaceResourceId is not in valid format
Moving this to the Dilithium bucket. Feel free to pull this into a specific milestone if need be. cc @ellismg @vhvb1989 @davidfowl @mitchdenny
This should be fixed now in P5. @christiannagel can you confirm from your end?
@mitchdenny I think I've seen this issue just recently using a daily build of .NET Aspire and azd. I'll verify it in the next few days.
Output from
azd version
Runazd version
and copy and paste the output here: azd version 1.7.0-beta.1-pr.3518885 (commit d62cc4c16bda2eefabf48b7d7f8bd616cad1445a)Describe the bug Having an Azure App Insights resource together with container apps, two Log Analytics workspaces are created. I think there should be only one:
Using
azd up
, two log analytics workspaces are created:Using this app model:
This is the generated manifest:
Expected behavior
I expect to have one log analytics workspace created from the App Insights resource, and this workspace to be used with project resources referencing app insights.
Environment Information on your environment: