Generic support for API-side validation via validate_only
param or similar
#20713
Labels
mmv1-generator
Provider-wide changes to resource templates or other generator changes
size/m
technical-debt
Milestone
What kind of contribution is this issue about?
MMv1-based resource
Details
AIP-163 gives guidelines for how APIs can provide a mechanism to validate requests. Most APIs do not implement this AIP. For APIs that do implement it (or something similar), I believe we could add support for calling it during the plan computation process (since it looks like we have access to configured clients from CustomizeDiff).
At a minimum, it would be good to choose three resources that support validate_only and implement & document something that works for all of them. It could be a flag in MMv1, or it could be a shared helper function - maybe even a CustomizeDiff function if there were a way to make a generic one that just gets plugged in.
References
#20641
The text was updated successfully, but these errors were encountered: