-
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
Add support for Cloud SQL CA Cert (#635) #1020
Conversation
Expose the 'ServerCaCert' object from the Cloud SQL Instance[1] Related: hashicorp#635 - Solves first point [1] https://cloud.google.com/sql/docs/mysql/admin-api/v1beta4/instances#resource
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
"server_ca_cert": &schema.Schema{ | ||
Type: schema.TypeList, | ||
Computed: true, | ||
Optional: true, |
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.
(hello friends I know this is already merged but-)
since this is only set on read (and not something passed in to create or update), it should be only computed and not also optional.
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.
thanks! follow up inbound
Response to PR comment: hashicorp#1020 (review)
Response to PR comment: #1020 (review)
* Add "server_ca_cert" Attribute reference Documents the addition of the `server_ca_cert` attribute for use in configuring SSL with GCP SQL Instances - added in PR #1020 * Updated formatting Updates formatting to match the above fields.
* Add "server_ca_cert" Attribute reference Documents the addition of the `server_ca_cert` attribute for use in configuring SSL with GCP SQL Instances - added in PR hashicorp#1020 * Updated formatting Updates formatting to match the above fields.
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 👉 [email protected]. Thanks! |
Expose the 'ServerCaCert' object from the Cloud SQL Instance[1]
Related: #635 - Solves first point
[1] https://cloud.google.com/sql/docs/mysql/admin-api/v1beta4/instances#resource