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

Cognitiveservices template fails on property qnaAzureSearchEndpointKey #740

Open
Poekiee12 opened this issue Jan 17, 2023 · 1 comment
Open
Labels
bug Something isn't working resource-provider issue with resource schema for pulled resources

Comments

@Poekiee12
Copy link

Describe the bug
When exporting the CognitiveServices/accounts resource in Azure, the validate runner fails because the value of the property qnaAzureSearchEndpointKey is null. The Whatif deployment does not allow this to be null and fails.

This issue happens to the resource type:

"Microsoft.CognitiveServices/accounts",

Steps to reproduce

  1. Pull the resources from Azure
  2. Validate the resources by using a Whatif deployment

Screenshots
image

@daltondhcp
Copy link
Contributor

Thank you for reporting this!
We are striving to support all resource providers in pull, but also rely on that the RPs return all the correct schema.
We are currently working on improving this to enable higher quality, but for now, it is best effort.

Out of curiosity, in this particular case, do you always run a validate after pull, or is this after changing the resource through a PR?

@daltondhcp daltondhcp added resource-provider issue with resource schema for pulled resources bug Something isn't working labels Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working resource-provider issue with resource schema for pulled resources
Projects
None yet
Development

No branches or pull requests

2 participants