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 #10588

Conversation

199201shubhamsahu
Copy link
Member

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


@github-actions github-actions bot requested a review from BBBmau May 2, 2024 23:25
Copy link

github-actions bot commented May 2, 2024

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.

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 1 file changed, 5 deletions(-))
google-beta provider: Diff ( 1 file changed, 5 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 65
Passed tests: 61
Skipped tests: 4
Affected tests: 0

Click here to see the affected service packages
  • alloydb

$\textcolor{green}{\textsf{All tests passed!}}$
View the build log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants