magic-modules icon indicating copy to clipboard operation
magic-modules copied to clipboard

feat: added support for ssl_config for postgresql_profile

Open pete-layerhealth opened this issue 1 month ago • 18 comments

Added support for ssl_config for postgresql_profile

shamelessly copied https://github.com/GoogleCloudPlatform/magic-modules/pull/12771 and incorporated feedback from @roaks3

Fixes https://github.com/hashicorp/terraform-provider-google/issues/20929

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.

datastream: added `postgresql_profile.ssl_config` to `google_datastream_connection_profile`

pete-layerhealth avatar Nov 19 '25 19:11 pete-layerhealth

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.

google-cla[bot] avatar Nov 19 '25 19:11 google-cla[bot]

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.

github-actions[bot] avatar Nov 19 '25 19:11 github-actions[bot]

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 4 files changed, 486 insertions(+), 5 deletions(-)) google-beta provider: Diff ( 4 files changed, 486 insertions(+), 5 deletions(-)) terraform-google-conversion: Diff ( 5 files changed, 372 insertions(+)) Open in Cloud Shell: Diff ( 4 files changed, 170 insertions(+))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_datastream_connection_profile (19 total tests) Please add an acceptance test which includes these fields. The test should include the following:

resource "google_datastream_connection_profile" "primary" {
  postgresql_profile {
    ssl_config {
      server_verification {
        ca_certificate = # value needed
      }
    }
  }
}


modular-magician avatar Nov 20 '25 17:11 modular-magician

Non-exercised tests

🔴 Tests were added that are skipped in VCR:

  • TestAccDatastreamConnectionProfile_datastreamStreamPostgresqlSslconfigServerAndClientVerificationExample

Tests analytics

Total tests: 19 Passed tests: 9 Skipped tests: 10 Affected tests: 0

Click here to see the affected service packages
  • datastream

🟢 All tests passed!

View the build log

modular-magician avatar Nov 20 '25 17:11 modular-magician

@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

pete-layerhealth avatar Nov 21 '25 20:11 pete-layerhealth

@slevenick This PR has been waiting for review for 3 weekdays. Please take a look! Use the label disable-review-reminders to disable these notifications.

github-actions[bot] avatar Nov 24 '25 09:11 github-actions[bot]

It still sees the commit as belonging to another contributor

slevenick avatar Nov 24 '25 20:11 slevenick

should be good now! sorry bout that

pete-layerhealth avatar Nov 24 '25 20:11 pete-layerhealth

@slevenick would love another check when you get a chance 🙏

pete-layerhealth avatar Nov 26 '25 18:11 pete-layerhealth

@slevenick This PR has been waiting for review for 3 weekdays. Please take a look! Use the label disable-review-reminders to disable these notifications.

github-actions[bot] avatar Nov 27 '25 09:11 github-actions[bot]

@GoogleCloudPlatform/terraform-team @slevenick This PR has been waiting for review for 1 week. Please take a look! Use the label disable-review-reminders to disable these notifications.

github-actions[bot] avatar Dec 01 '25 09:12 github-actions[bot]

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 4 files changed, 486 insertions(+), 5 deletions(-)) google-beta provider: Diff ( 4 files changed, 486 insertions(+), 5 deletions(-)) terraform-google-conversion: Diff ( 5 files changed, 372 insertions(+)) Open in Cloud Shell: Diff ( 4 files changed, 170 insertions(+))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_datastream_connection_profile (19 total tests) Please add an acceptance test which includes these fields. The test should include the following:

resource "google_datastream_connection_profile" "primary" {
  postgresql_profile {
    ssl_config {
      server_verification {
        ca_certificate = # value needed
      }
    }
  }
}


modular-magician avatar Dec 01 '25 22:12 modular-magician

Non-exercised tests

🔴 Tests were added that are skipped in VCR:

  • TestAccDatastreamConnectionProfile_datastreamStreamPostgresqlSslconfigServerAndClientVerificationExample

Tests analytics

Total tests: 19 Passed tests: 9 Skipped tests: 10 Affected tests: 0

Click here to see the affected service packages
  • datastream

🟢 All tests passed!

View the build log

modular-magician avatar Dec 01 '25 23:12 modular-magician

@slevenick any chance youd have a moment to take a look today? im hoping itll be quick given the previous attempt was already reviewed

pete-layerhealth avatar Dec 03 '25 15:12 pete-layerhealth

@slevenick This PR has been waiting for review for 3 weekdays. Please take a look! Use the label disable-review-reminders to disable these notifications.

github-actions[bot] avatar Dec 10 '25 09:12 github-actions[bot]

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 4 files changed, 486 insertions(+), 5 deletions(-)) google-beta provider: Diff ( 4 files changed, 486 insertions(+), 5 deletions(-)) terraform-google-conversion: Diff ( 5 files changed, 371 insertions(+)) Open in Cloud Shell: Diff ( 4 files changed, 170 insertions(+))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_datastream_connection_profile (19 total tests) Please add an acceptance test which includes these fields. The test should include the following:

resource "google_datastream_connection_profile" "primary" {
  postgresql_profile {
    ssl_config {
      server_verification {
        ca_certificate = # value needed
      }
    }
  }
}


modular-magician avatar Dec 10 '25 19:12 modular-magician

Non-exercised tests

🔴 Tests were added that are skipped in VCR:

  • TestAccDatastreamConnectionProfile_datastreamStreamPostgresqlSslconfigServerAndClientVerificationExample

Tests analytics

Total tests: 19 Passed tests: 9 Skipped tests: 10 Affected tests: 0

Click here to see the affected service packages
  • datastream

🟢 All tests passed!

View the build log

modular-magician avatar Dec 10 '25 20:12 modular-magician

@GoogleCloudPlatform/terraform-team @slevenick This PR has been waiting for review for 1 week. Please take a look! Use the label disable-review-reminders to disable these notifications.

github-actions[bot] avatar Dec 12 '25 09:12 github-actions[bot]