Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Credentials for Log Analytics Workspace are not validated #43

Open
magnus-longva-bouvet opened this issue Jan 18, 2021 · 0 comments
Open

Comments

@magnus-longva-bouvet
Copy link

Observed behaviour:
I'm deploying ACI container groups with ARM template. The attributes Microsoft.ContainerInstance/containerGroups/diagnostics.logAnalytics.workspaceId and Microsoft.ContainerInstance/containerGroups/diagnostics.logAnalytics.workspaceKey to not appear to be validated upon deployment. I can enter any workspaceId, e.g. "thisisnotavalidID", and I can enter the wrong workspaceKey for a valid workspaceId, but the container group is still deployed, and log collection by Log Analytics Workspace fails silently.

Expected behaviour:
If I try to deploy a container group with invalid Log Analytics Workspace credentials, the deployment should fail. Any combination of workspaceId and workspaceKey which do not correspond to an existing workspace where workspaceKey is a valid key, should fail.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant