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

Credentials for Log Analytics Workspace are not validated #43

Description

@magnus-longva-bouvet

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions