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

feat: Add ssl_mode option to google_sql_database_instance. #6579

Conversation

modular-magician
Copy link
Collaborator

This PR adds support for the new field ssl_mode to google_sql_database_instance. This new field is only available for google.golang.org/api v0.148.0 or after. Acctests are added for each database types and they all passed.

This is almost the same as the previous PR but this one adds Computed: true to the ssl_mode field so that its old value will be used in requests.

Tested the following tests which were broken by the previous PR but they are passing in this PR:

  • TestAccDatastreamConnectionProfile_update
  • TestAccSqlDatabaseInstance_Smt

Release Note Template for Downstream PRs (will be copied)

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

Derived from GoogleCloudPlatform/magic-modules#9367

* feat: Add ssl_mode option to google_sql_database_instance.

* Put the github.com/google/go-cmp v0.5.9 back to the go.sum.

Deleted it in previous commit by mistake.

* Update go.mod.erb and go.sum since the commit 6aa307c reverts the commit f3db9dd.
[upstream:3f433e1c3724481aa3e1649520cab5de33ee6157]

Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician merged commit abf785b into hashicorp:main Oct 27, 2023
4 checks passed
roaks3 added a commit that referenced this pull request Nov 3, 2023
@modular-magician modular-magician deleted the downstream-pr-3f433e1c3724481aa3e1649520cab5de33ee6157 branch November 16, 2024 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant