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

Added instance_type field to google_sql_database_instance resource #13406

Conversation

modular-magician
Copy link
Collaborator

This PR is in effort to fix #11424

Buganizer ticket Id : b/259900473

I have added a compute only attribute instance_type in google_sql_database_instance resource. This field already exist in the instance object in admin api. https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/instances

This field is necessary during update API calls, so that the API could distinguish between a regular instance and read replica instance.

sql: added `instance_type` field to `google_sql_database_instance` resource

Derived from GoogleCloudPlatform/magic-modules#7044

hashicorp#7044)

fix hashicorp#11424

Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician merged commit feb2eb9 into hashicorp:main Jan 6, 2023
@github-actions
Copy link

github-actions bot commented Feb 6, 2023

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot update Cloud SQL read replica instance with binary logging enabled
1 participant