-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Conversation
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.
@@ -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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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!
Adding @rileykarson's suggestions
There was a problem hiding this 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.
Ah, never mind about the delay. |
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! |
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.