Open savannahostrowski opened 2 years ago
@savannahostrowski a few clarifying questions:
Moved this to November!
This is part of planned work we have for Gallium to improve error messaging.
There is a Preflight API which is implemented across services/RP's. which does the following types of checks.
@ChrisHMSFT do you know the status and coverage of the preflight API's on the RP's?
Yes, all except the capacity check is supported today. You can use: https://learn.microsoft.com/en-us/rest/api/resources/deployments/validate?view=rest-resources-2021-04-01
Preflight API has validation and deployment API. We already have deployment API. The enhancement is to add validation API to check failure before provision. The validation API is not working with all nested resources and our todo templates are using nested resources/module. However, adding validation API will help users validating their custom non-nested resources. There is a bug in azure-sdk-for-go
preflight validate
function: https://github.com/Azure/azure-sdk-for-go/issues/23350 needs to resolve in order to add the enhancement to azd.
Steps to repro: