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

Generic support for API-side validation via validate_only param or similar #20713

Open
melinath opened this issue Dec 17, 2024 · 0 comments
Open

Comments

@melinath
Copy link
Collaborator

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

@melinath melinath changed the title Generated support for API-side validation via validate_only param or similar Generic support for API-side validation via validate_only param or similar Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant