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

Update High Availability flag to mention Cloud SQL instances #6254

Merged
merged 2 commits into from
May 6, 2020

Conversation

Kodyc1
Copy link
Contributor

@Kodyc1 Kodyc1 commented Apr 30, 2020

This line mentions only Postgres but the flag should apply to MySQL as well: * availability_type - (Optional) This specifies whether a PostgreSQL instance should be set up for high availability (REGIONAL) or single zone (ZONAL).

The REST API (https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/instances#sqlavailabilitytype) doesn't say it's Postgres specific.


This line mentions only Postgres but the flag should apply to MySQL as well: * `availability_type` - (Optional) This specifies whether a PostgreSQL instance should be set up for high availability (`REGIONAL`) or single zone (`ZONAL`).

The REST API (https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/instances#sqlavailabilitytype) doesn't say it's Postgres specific.
@ghost ghost added the size/xs label Apr 30, 2020
@ghost ghost requested review from rileykarson April 30, 2020 19:09
@ghost ghost added the documentation label Apr 30, 2020
@@ -240,7 +240,7 @@ The required `settings` block supports:
for information on how to upgrade to Second Generation instances.
A list of Google App Engine (GAE) project names that are allowed to access this instance.

* `availability_type` - (Optional) This specifies whether a PostgreSQL instance
* `availability_type` - (Optional) This specifies whether a Cloud SQL instance
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable to me! While you're here, what do you think of changing it to the following:

The availability type of the Cloud SQL instance, high availability (`REGIONAL`) or single zone (`ZONAL`).'

That displays the actual reference docs' message ("The availability type of the given Cloud SQL instance.") while still listing both options concisely.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely a concise improvement - changed per your suggestion!

Copy link
Collaborator

@rileykarson rileykarson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I'm gonna upstream this to Magic Modules & then merge, so there'll probably be a few hours delay as I get an approval upstream.

@rileykarson
Copy link
Collaborator

Ah, never mind about the delay.

@ghost
Copy link

ghost commented Jun 6, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked and limited conversation to collaborators Jun 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants