-
Notifications
You must be signed in to change notification settings - Fork 2.1k
feat: google_datastream_private_connection resource network_attachement support via psc_interface_config
#13947
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
Conversation
|
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. @BBBmau, 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. |
|
@shuyama1 forgot to open as Will put on |
91ff469 to
a64d2ad
Compare
a64d2ad to
2335cff
Compare
|
@shuyama1 FYI When running the acceptance test TestAccDatastreamPrivateConnection_datastreamPrivateConnectionPscInterface locally, after polling for about ~15 minutes, I run into the following error: When looking in the UI just before the error (when it is polling the Operation), at least the network attachment seems to be created succesful: It is a bit hard to understand what the underlaying issue is, since the API only returns For the network attachement, I took the Upgrading to Maybe the network attachment should only have accepted producers? |
|
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.
|
Tests analyticsTotal tests: 15 Click here to see the affected service packages
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 tests
|
|
🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
shuyama1
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.
Okay, test failed with the following error
Error: Error waiting for PrivateConnection "projects/ci-test-project-188019/locations/us-central1/privateConnections/tf-test-my-connectionpbg7rdhitb" to be CREATED. "Failed to create PrivateConnection. An unknown error occurred. Please try again. If the error persists, contact Google support. details = {\"originalMessage\":\"\"}"
with google_datastream_private_connection.default,
on terraform_plugin_test.tf line 2, in resource "google_datastream_private_connection" "default":
2: resource "google_datastream_private_connection" "default" {
This appears to match the error you saw locally.
|
I'll look into the issue today |
Thanks! One thing that I tried is to use a Might go over the documentation on psc interfaces for datastream later this week, to see if I miss something. |
2335cff to
33dde3a
Compare
|
Test is now passing locally with 33dde3a, had to do with the |
|
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.
|
Tests analyticsTotal tests: 15 Click here to see the affected service packages
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 tests
|
I am waiting for a review of @shuyama1, unless there are still things required to be changed before it is ready in your opinion? |
|
@shuyama1 can you please review this CL ? |
|
@shuyama1 can we close this more quickly please |
|
@BBBmau @rileykarson @melinath @ScottSuarez Tagging for visibility, since there seems quite some demand for this one from the Datastream team. |
|
@modular-magician reassign-reviewer |
c4369ef
|
Is there an updated version of the docs here https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/datastream_private_connection? |
I think this will be updated with the v6.38.0 release, which will probably be somewhere in the upcoming week(s). See documentation diff at the merged downstream PR to the provider: |
…ement` support via `psc_interface_config` (GoogleCloudPlatform#13947)
…ement` support via `psc_interface_config` (GoogleCloudPlatform#13947)
…ement` support via `psc_interface_config` (GoogleCloudPlatform#13947)
…ement` support via `psc_interface_config` (GoogleCloudPlatform#13947)
…ement` support via `psc_interface_config` (GoogleCloudPlatform#13947)
…ement` support via `psc_interface_config` (GoogleCloudPlatform#13947)
…ement` support via `psc_interface_config` (GoogleCloudPlatform#13947)
…ement` support via `psc_interface_config` (GoogleCloudPlatform#13947)
…ement` support via `psc_interface_config` (GoogleCloudPlatform#13947)
…ement` support via `psc_interface_config` (GoogleCloudPlatform#13947)

Closes hashicorp/terraform-provider-google#22759
Release Note Template for Downstream PRs (will be copied)
See Write release notes for guidance.