Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The test deployment hides errors #887

Closed
AlexanderSehr opened this issue Jan 14, 2022 · 0 comments · Fixed by #889
Closed

The test deployment hides errors #887

AlexanderSehr opened this issue Jan 14, 2022 · 0 comments · Fixed by #889
Assignees
Labels
bug Something isn't working
Milestone

Comments

@AlexanderSehr
Copy link
Contributor

The Test-AzDeployment invocation in the pipeline does not display the actual error which should be improved. Instead you get e.g.

  "Code": "InvalidTemplateDeployment",
  "Message": "The template deployment '63cf1c49-0691-4019-bc26-50e8c7a94273' is not valid according to the validation procedure. The tracking id is '7d823c4b-b602-45df-8757-4b8fb07a4acd'. See inner errors for details.",
  "Target": null,
  "Details": [
    {
      "Code": "PreflightValidationCheckFailed",
      "Message": "Preflight validation failed. Please refer to the details for the specific errors.",
      "Target": null,
      "Details": "Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSResourceManagerError"
    }
  ]
}
@AlexanderSehr AlexanderSehr added the bug Something isn't working label Jan 14, 2022
@AlexanderSehr AlexanderSehr linked a pull request Jan 14, 2022 that will close this issue
4 tasks
@AlexanderSehr AlexanderSehr added this to the v 0.4 milestone Jan 14, 2022
@AlexanderSehr AlexanderSehr self-assigned this Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant