Mark num_finite_buckets required for cloud logging metric bucket_options#8780
Conversation
|
Hello! I am a robot. It looks like you are a: @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. |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Breaking Change(s) DetectedThe following breaking change(s) were detected within your pull request.
If you believe this detection to be incorrect please raise the concern with your reviewer. If you intend to make this change you will need to wait for a major release window. An Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 3 files changed, 9 insertions(+), 10 deletions(-)) |
| required: true | ||
| - !ruby/object:Api::Type::Double | ||
| name: growthFactor | ||
| at_least_one_of: |
There was a problem hiding this comment.
We should remove the requirement for at_least_one_of for all 3 of the child fields numFiniteBuckets, growthFactor, and scale
There was a problem hiding this comment.
This is why the build fails, the two restrictions (required, at least one of) are conflicting
|
Since this is a feature for the 5.0.0 release, I've updated the base branch to the 5.0.0 branch. There is a second PR required for this change where we update the 5.0.0 upgrade guide for this breaking change on the |
…emove at_least_one_of
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Breaking Change(s) DetectedThe following breaking change(s) were detected within your pull request.
If you believe this detection to be incorrect please raise the concern with your reviewer. If you intend to make this change you will need to wait for a major release window. An Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 3 files changed, 10 insertions(+), 13 deletions(-)) |
…dd back changes in branch b1
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Breaking Change(s) DetectedThe following breaking change(s) were detected within your pull request.
If you believe this detection to be incorrect please raise the concern with your reviewer. If you intend to make this change you will need to wait for a major release window. An Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 3 files changed, 11 insertions(+), 13 deletions(-)) |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Breaking Change(s) DetectedThe following breaking change(s) were detected within your pull request.
If you believe this detection to be incorrect please raise the concern with your reviewer. If you intend to make this change you will need to wait for a major release window. An Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 3 files changed, 25 insertions(+), 31 deletions(-)) |
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 testsTestAccDataLossPreventionJobTrigger_dlpJobTriggerInspectCustomInfoTypes |
|
Rerun these tests in REPLAYING mode to catch issues
|
| Optional: true, | ||
| Default: false, | ||
| ForceNew: true, | ||
| ForceNew: true, |
There was a problem hiding this comment.
| ForceNew: true, | |
| ForceNew: true, |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Breaking Change(s) DetectedThe following breaking change(s) were detected within your pull request.
If you believe this detection to be incorrect please raise the concern with your reviewer. If you intend to make this change you will need to wait for a major release window. An Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 3 files changed, 26 insertions(+), 30 deletions(-)) |
Tests analyticsTotal tests:
|
| - bucket_options.0.exponential_buckets.0.scale | ||
| description: | | ||
| Must be greater than 1. | ||
| required: true |
There was a problem hiding this comment.
just making sure, are all of these fields required? Or only numFiniteBuckets?
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Breaking Change(s) DetectedThe following breaking change(s) were detected within your pull request.
If you believe this detection to be incorrect please raise the concern with your reviewer. If you intend to make this change you will need to wait for a major release window. An Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 2 files changed, 24 insertions(+), 30 deletions(-)) |
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 testsTestAccDataSourceGoogleServiceAccountAccessToken_basic |
|
Rerun these tests in REPLAYING mode to catch issues
|
415c90d
into
GoogleCloudPlatform:FEATURE-BRANCH-major-release-5.0.0
…tform#8780 (GoogleCloudPlatform#8887) Co-authored-by: Cameron Thornton <camthornton@google.com>
…tform#8780 (GoogleCloudPlatform#8887) Co-authored-by: Cameron Thornton <camthornton@google.com>
Fixes hashicorp/terraform-provider-google#12964
If this PR is for Terraform, I acknowledge that I have:
make testandmake lintin the generated providers to ensure it passes unit and linter tests.Release Note Template for Downstream PRs (will be copied)