-
Notifications
You must be signed in to change notification settings - Fork 2.1k
feat: added support for ssl_config for postgresql_profile #15768
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
base: main
Are you sure you want to change the base?
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
Hello! I am a robot. Tests will require approval from a repository maintainer to run. Googlers: For automatic test runs see go/terraform-auto-test-runs. @slevenick, 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. |
|
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.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_datastream_connection_profile" "primary" {
postgresql_profile {
ssl_config {
server_verification {
ca_certificate = # value needed
}
}
}
}
|
Non-exercised tests🔴 Tests were added that are skipped in VCR:
Tests analyticsTotal tests: 19 Click here to see the affected service packages
🟢 All tests passed! View the build log |
|
@slevenick would you be able to take a look? the previous PR was nearly approved but the author went MIA so it ended up staling |
|
@slevenick This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
slevenick
left a comment
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.
It looks like there's a commit from the old PR in here:
❌ 7bf332e Author: <aru******el@coop.no>
It's failing the CLA check. I can't merge this without that user signing the CLA
9b60420 to
45d8e1f
Compare
|
It still sees the commit as belonging to another contributor |
45d8e1f to
420bd60
Compare
|
should be good now! sorry bout that |
|
@slevenick would love another check when you get a chance 🙏 |
|
@slevenick This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
|
@GoogleCloudPlatform/terraform-team @slevenick This PR has been waiting for review for 1 week. Please take a look! Use the label |
|
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.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_datastream_connection_profile" "primary" {
postgresql_profile {
ssl_config {
server_verification {
ca_certificate = # value needed
}
}
}
}
|
Non-exercised tests🔴 Tests were added that are skipped in VCR:
Tests analyticsTotal tests: 19 Click here to see the affected service packages
🟢 All tests passed! View the build log |
|
@slevenick any chance youd have a moment to take a look today? im hoping itll be quick given the previous attempt was already reviewed |
slevenick
left a comment
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.
I'm seeing the following error when running the test:
~ postgresql_profile {
- secret_manager_stored_password = "" -> null
# (5 unchanged attributes hidden)
~ ssl_config {
+ server_and_client_verification {
+ ca_certificate = (sensitive value) # forces replacement
+ client_certificate = (sensitive value) # forces replacement
+ client_key = (sensitive value) # forces replacement
}
}
}
|
@slevenick This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
|
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.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_datastream_connection_profile" "primary" {
postgresql_profile {
ssl_config {
server_verification {
ca_certificate = # value needed
}
}
}
}
|
Non-exercised tests🔴 Tests were added that are skipped in VCR:
Tests analyticsTotal tests: 19 Click here to see the affected service packages
🟢 All tests passed! View the build log |
|
@GoogleCloudPlatform/terraform-team @slevenick This PR has been waiting for review for 1 week. Please take a look! Use the label |
| immutable: true | ||
| sensitive: true | ||
| ignore_read: true | ||
| - name: 'serverAndClientVerification' |
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.
This entire block may need ignore_read. I'm still seeing a diff when running the test
|
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.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_datastream_connection_profile" "primary" {
postgresql_profile {
ssl_config {
server_verification {
ca_certificate = # value needed
}
}
}
}
|
Non-exercised tests🔴 Tests were added that are skipped in VCR:
Tests analyticsTotal tests: 19 Click here to see the affected service packages
🟢 All tests passed! View the build log |
|
@slevenick This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
|
@GoogleCloudPlatform/terraform-team @slevenick This PR has been waiting for review for 1 week. Please take a look! Use the label |
slevenick
left a comment
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.
Still getting errors on testing:
=== CONT TestAccDatastreamConnectionProfile_datastreamStreamPostgresqlSslconfigServerAndClientVerificationExample
resource_datastream_connection_profile_generated_test.go:319: Step 2/2 error running import: ImportStateVerify attributes not equivalent. Difference is shown below. The - symbol indicates attributes missing after import.
map[string]string{
- "postgresql_profile.0.password": "ukJ0WUxF1FKiMi9n",
+ "postgresql_profile.0.password": "",
}
ok, ignoring the password got it passing for me locally: ready for another review @slevenick 🙏 |
Added support for ssl_config for postgresql_profile
shamelessly copied #12771 and incorporated feedback from @roaks3
Fixes hashicorp/terraform-provider-google#20929
Release Note Template for Downstream PRs (will be copied)
See Write release notes for guidance.