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. #16394

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

…#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 <[email protected]>
@modular-magician modular-magician merged commit 5ae8e99 into hashicorp:main Oct 27, 2023
1 check passed
roaks3 added a commit that referenced this pull request Nov 3, 2023
Copy link

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 Nov 27, 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.

1 participant