-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Mark num_finite_buckets
required for cloud logging metric bucket_options
#8780
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(-)) |
mmv1/products/logging/Metric.yaml
Outdated
@@ -246,6 +247,7 @@ properties: | |||
- bucket_options.0.exponential_buckets.0.scale | |||
description: | | |||
Must be greater than 0. | |||
required: true | |||
- !ruby/object:Api::Type::Double | |||
name: growthFactor | |||
at_least_one_of: |
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.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
|
@@ -37,7 +37,7 @@ func ResourceLoggingProjectSink() *schema.Resource { | |||
Type: schema.TypeBool, | |||
Optional: true, | |||
Default: false, | |||
ForceNew: true, | |||
ForceNew: true, |
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.
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:
|
description: | | ||
Must be greater than 1. | ||
required: true |
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.
just making sure, are all of these fields required? Or only numFiniteBuckets
?
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.
Yes. Thanks!
mmv1/third_party/terraform/services/logging/resource_logging_project_sink.go
Outdated
Show resolved
Hide resolved
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
Co-authored-by: Cameron Thornton <[email protected]>
…tform#8780 (GoogleCloudPlatform#8887) Co-authored-by: Cameron Thornton <[email protected]>
…tform#8780 (GoogleCloudPlatform#8887) Co-authored-by: Cameron Thornton <[email protected]>
Fixes hashicorp/terraform-provider-google#12964
If this PR is for Terraform, I acknowledge that I have:
make test
andmake lint
in the generated providers to ensure it passes unit and linter tests.Release Note Template for Downstream PRs (will be copied)