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

Remove cluster update validation for primary to secondary #7326

Conversation

modular-magician
Copy link
Collaborator

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": [
| ......
│ ]


Derived from GoogleCloudPlatform/magic-modules#10588

[upstream:29ad7f672bb64f621878f757096e759bfedae0b7]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician merged commit 29c15a3 into hashicorp:main May 7, 2024
4 checks passed
@modular-magician modular-magician deleted the downstream-pr-29ad7f672bb64f621878f757096e759bfedae0b7 branch November 16, 2024 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant