-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Remove cluster update validation for primary to secondary #10588
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
Remove cluster update validation for primary to secondary #10588
Conversation
Hello! I am a robot. Tests will require approval from a repository maintainer to run. @BBBmau, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
Tests analyticsTotal tests: Click here to see the affected service packages
|
Remove cluster update validation for cluster_type update from PRIMARY to SECONDARY as it is handled by the backend API
Verified with
terraform apply
Error: Error updating Cluster "projects/$projectName/locations/$locationName/clusters/primary-cluster": googleapi: Error 400: The request was invalid: updating field cluster_type is not supported (current value: PRIMARY, specified value: SECONDARY)
│ Details:
│ [
│ {
│ "@type": "type.googleapis.com/google.rpc.DebugInfo",
│ "detail": "generic::invalid_argument: The request was invalid: updating field cluster_type is not supported (current value: PRIMARY, specified value: SECONDARY)",
│ "stackEntries": [
| ......
│ ]