You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When exporting a resource through AzOps, the template validation fails because the name of the parent resource is not included in the name property.
Error appears in the name property of the JSON file
Screenshots
The text was updated successfully, but these errors were encountered:
Poekiee12
changed the title
SQL database json file misses the sql server before the database name
Parent resource name missing in the name property of exported resources
Jan 13, 2023
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?
We always run a validate after a pull! This particular case was a first pull of an environment at which the validate fails. We are currently excluding the resource types to make sure it works.
Describe the bug
When exporting a resource through AzOps, the template validation fails because the name of the parent resource is not included in the name property.
This bug applies to the following types:
"type": "Microsoft.Network/privateDnsZones/virtualNetworkLinks",
"type": "Microsoft.Sql/servers/databases",
"type": "Microsoft.Cdn/profiles/endpoints",
"type": "Microsoft.Network/dnsResolvers/inboundEndpoints",
Wrong JSON
Correct JSON
Steps to reproduce
Screenshots
The text was updated successfully, but these errors were encountered: