这是indexloc提供的服务,不要输入任何密码
Skip to content

add cloudtrace product, TraceSink resource #14074

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

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

pete-layerhealth
Copy link

@pete-layerhealth pete-layerhealth commented May 23, 2025

Fixes hashicorp/terraform-provider-google#15590

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.

`cloud_trace_trace_sink`

@github-actions github-actions bot requested a review from rileykarson May 23, 2025 02:33
Copy link

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.

@rileykarson, 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.

@modular-magician modular-magician added the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label May 23, 2025
Copy link

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

@modular-magician modular-magician removed the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label May 27, 2025
@@ -0,0 +1,26 @@
package cloudtrace_test
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For tests can you add a structured example as described on https://googlecloudplatform.github.io/magic-modules/test/test/ as a "create" test, and then a update test that's handwritten? These are test configs, but nothing is currently executing them!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be all set!

resource "google_cloud_trace_trace_sink" "default" {
name = "%s"
output_config {
destination = "bigquery.googleapis.com/projects/my-project/datasets/my-dataset"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll also want to create dependencies in-band in the test!

@modular-magician
Copy link
Collaborator

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 ( 3 files changed, 154 insertions(+))
google-beta provider: Diff ( 12 files changed, 783 insertions(+), 2 deletions(-))
terraform-google-conversion: Diff ( 3 files changed, 86 insertions(+))

Missing test report

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

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

resource "google_cloud_trace_trace_sink" "primary" {
  name          = # value needed
  output_config = # value needed
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 5026
Passed tests: 4556
Skipped tests: 465
Affected tests: 5

Click here to see the affected service packages

All service packages are affected

#### Action taken
Found 5 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccComputeFirewallPolicyWithRules_computeFirewallPolicyWithRulesFullExample
  • TestAccComputeFirewallPolicyWithRules_update
  • TestAccDataSourceGoogleGkeHubFeature_basic
  • TestAccHealthcarePipelineJob_healthcarePipelineJobBackfillExample
  • TestAccLoggingFolderSettings_update

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccDataSourceGoogleGkeHubFeature_basic [Debug log]

🔴 Tests failed when rerunning REPLAYING mode:
TestAccDataSourceGoogleGkeHubFeature_basic [Error message] [Debug log]

Tests failed due to non-determinism or randomness when the VCR replayed the response after the HTTP request was made.

Please fix these to complete your PR. If you believe these test failures to be incorrect or unrelated to your change, or if you have any questions, please raise the concern with your reviewer.


🔴 Tests failed during RECORDING mode:
TestAccComputeFirewallPolicyWithRules_computeFirewallPolicyWithRulesFullExample [Error message] [Debug log]
TestAccComputeFirewallPolicyWithRules_update [Error message] [Debug log]
TestAccHealthcarePipelineJob_healthcarePipelineJobBackfillExample [Error message] [Debug log]
TestAccLoggingFolderSettings_update [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

pete-layerhealth and others added 4 commits May 28, 2025 09:30
Co-authored-by: Riley Karson <rileykarson@google.com>
Co-authored-by: Riley Karson <rileykarson@google.com>
Co-authored-by: Riley Karson <rileykarson@google.com>
Co-authored-by: Riley Karson <rileykarson@google.com>
@github-actions github-actions bot requested a review from rileykarson May 28, 2025 13:31
@modular-magician modular-magician added the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label May 28, 2025
@pete-layerhealth
Copy link
Author

sorry, ill be MIA for a week or two; if anyone wants to quickly get this over the finish line id be thrilled, otherwise i can take a look when im back

Copy link

github-actions bot commented Jun 2, 2025

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

Copy link

github-actions bot commented Jun 4, 2025

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

@modular-magician modular-magician removed the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Jun 5, 2025
@modular-magician
Copy link
Collaborator

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 ( 3 files changed, 233 insertions(+))
google-beta provider: Diff ( 13 files changed, 1013 insertions(+), 2 deletions(-))
terraform-google-conversion: Diff ( 3 files changed, 105 insertions(+))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 5050
Passed tests: 4576
Skipped tests: 468
Affected tests: 6

Click here to see the affected service packages

All service packages are affected

#### Action taken
Found 6 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccCloudTraceSink_update
  • TestAccCloudTraceTraceSink_cloudTraceSinkBasicExample
  • TestAccDataSourceGoogleGkeHubFeature_basic
  • TestAccGeminiGeminiGcpEnablementSettingBinding_update
  • TestAccHealthcarePipelineJob_healthcarePipelineJobBackfillExample
  • TestAccLoggingFolderSettings_update

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccDataSourceGoogleGkeHubFeature_basic [Debug log]

🔴 Tests failed when rerunning REPLAYING mode:
TestAccDataSourceGoogleGkeHubFeature_basic [Error message] [Debug log]

Tests failed due to non-determinism or randomness when the VCR replayed the response after the HTTP request was made.

Please fix these to complete your PR. If you believe these test failures to be incorrect or unrelated to your change, or if you have any questions, please raise the concern with your reviewer.


🔴 Tests failed during RECORDING mode:
TestAccCloudTraceSink_update [Error message] [Debug log]
TestAccCloudTraceTraceSink_cloudTraceSinkBasicExample [Error message] [Debug log]
TestAccGeminiGeminiGcpEnablementSettingBinding_update [Error message] [Debug log]
TestAccHealthcarePipelineJob_healthcarePipelineJobBackfillExample [Error message] [Debug log]
TestAccLoggingFolderSettings_update [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

Copy link

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

Copy link

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

Copy link

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

@pete-layerhealth
Copy link
Author

i no longer have bandwidth to work on this, but would be thrilled if someone else got it over the finish line

Copy link

github-actions bot commented Jul 2, 2025

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

Copy link

github-actions bot commented Jul 9, 2025

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

Copy link

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

Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

gcloud alpha trace sinks
3 participants