-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 ssl_mode option to google_sql_database_instance. #9316
Conversation
Hello! I am a robot. It looks like you are a: Community Contributor @roaks3, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
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.
Some nits, but LGTM. Main thing is if we can reduce the tests a bit.
mmv1/third_party/terraform/services/sql/resource_sql_database_instance.go.erb
Outdated
Show resolved
Hide resolved
mmv1/third_party/terraform/services/sql/resource_sql_database_instance_test.go
Show resolved
Hide resolved
mmv1/third_party/terraform/services/sql/resource_sql_database_instance_test.go
Outdated
Show resolved
Hide resolved
mmv1/third_party/terraform/website/docs/r/sql_database_instance.html.markdown
Outdated
Show resolved
Hide resolved
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.
Running tests now, but code LGTM
Hi there, I'm the Modular magician. I've detected the following information about your changes: Breaking Change Detection FailedThe breaking change detector crashed during execution. This is usually due to the downstream provider(s) failing to compile. Please investigate or follow up with your reviewer. Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 5 files changed, 328 insertions(+), 239 deletions(-)) |
Build error is:
I suspect the library bump needs to be fixed (see yaqs/8444818848342867968#a1n2) |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Breaking Change Detection FailedThe breaking change detector crashed during execution. This is usually due to the downstream provider(s) failing to compile. Please investigate or follow up with your reviewer. Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 5 files changed, 361 insertions(+), 271 deletions(-)) |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 5 files changed, 123 insertions(+), 36 deletions(-)) Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_sql_database_instance" "primary" {
settings {
ip_configuration {
ssl_mode = # value needed
}
}
}
|
Tests analyticsTotal tests: Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccSqlDatabaseInstance_updateSslOptionsForPostgreSQL |
Rerun these tests in REPLAYING mode to catch issues
|
It is unclear why the above test
But that should have been fixed by 5b96b40. And I manually generated the provider locally and there is no error. |
…loudPlatform#9316)" This reverts commit dc96ecc.
…form#9316) * Add ssl_mode option to google_sql_database_instance. * Remove unnecessary ssl_mode values and related tests. * Improve the doc and description for ssl_mode and require_ssl * Bump the dependency libraries' versions for google.golang.org/api v0.148.0 * Fix a missing comma which causes syntax error.
…form#9316) * Add ssl_mode option to google_sql_database_instance. * Remove unnecessary ssl_mode values and related tests. * Improve the doc and description for ssl_mode and require_ssl * Bump the dependency libraries' versions for google.golang.org/api v0.148.0 * Fix a missing comma which causes syntax error.
…form#9316) * Add ssl_mode option to google_sql_database_instance. * Remove unnecessary ssl_mode values and related tests. * Improve the doc and description for ssl_mode and require_ssl * Bump the dependency libraries' versions for google.golang.org/api v0.148.0 * Fix a missing comma which causes syntax error.
This PR adds support for the new field
ssl_mode
togoogle_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.Release Note Template for Downstream PRs (will be copied)