Skip to content

Make google_monitoring_metric_descriptor.labels ForceNew#8914

Merged
c2thorn merged 2 commits into
GoogleCloudPlatform:FEATURE-BRANCH-major-release-5.0.0from
c2thorn:metric-descriptor-test
Sep 25, 2023
Merged

Make google_monitoring_metric_descriptor.labels ForceNew#8914
c2thorn merged 2 commits into
GoogleCloudPlatform:FEATURE-BRANCH-major-release-5.0.0from
c2thorn:metric-descriptor-test

Conversation

@c2thorn

@c2thorn c2thorn commented Sep 11, 2023

Copy link
Copy Markdown
Member

labels are not updatable,metadata is. The child metadata fields were already updatable, just setting the parent appropriately.

fixes hashicorp/terraform-provider-google#12139
upgrade guide: #8970

Release Note Template for Downstream PRs (will be copied)

monitoring: made `labels` immutable in `google_monitoring_metric_descriptor`
monitoring: fixed an issue where `metadata` was not able to be updated in `google_monitoring_metric_descriptor`

@modular-magician

Copy link
Copy Markdown
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.

Terraform GA: Diff ( 2 files changed, 8 insertions(+), 12 deletions(-))
Terraform Beta: Diff ( 2 files changed, 8 insertions(+), 12 deletions(-))

@c2thorn c2thorn force-pushed the metric-descriptor-test branch from 197233c to 3893d22 Compare September 15, 2023 05:42
@modular-magician

Copy link
Copy Markdown
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.

Terraform GA: Diff ( 2 files changed, 8 insertions(+), 12 deletions(-))
Terraform Beta: Diff ( 2 files changed, 8 insertions(+), 12 deletions(-))

@modular-magician

Copy link
Copy Markdown
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.

Terraform GA: Diff ( 2 files changed, 8 insertions(+), 12 deletions(-))
Terraform Beta: Diff ( 2 files changed, 8 insertions(+), 12 deletions(-))

@c2thorn c2thorn force-pushed the metric-descriptor-test branch from a7e52ef to cc3b59f Compare September 22, 2023 20:45
@modular-magician

Copy link
Copy Markdown
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.

Terraform GA: Diff ( 2 files changed, 8 insertions(+), 12 deletions(-))
Terraform Beta: Diff ( 2 files changed, 8 insertions(+), 12 deletions(-))

@modular-magician

Copy link
Copy Markdown
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.

Terraform GA: Diff ( 2 files changed, 8 insertions(+), 13 deletions(-))
Terraform Beta: Diff ( 2 files changed, 8 insertions(+), 13 deletions(-))

@modular-magician

Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 3082
Passed tests 2765
Skipped tests: 313
Affected tests: 4

Action taken

Found 4 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
TestAccContainerNodePool_withSandboxConfig|TestAccDataprocClusterIamPolicy|TestAccMonitoringMetricDescriptor_update|TestAccDataSourceGoogleServiceAccountJwt

Get to know how VCR tests work

@modular-magician

Copy link
Copy Markdown
Collaborator

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$
TestAccContainerNodePool_withSandboxConfig[Debug log]
TestAccDataprocClusterIamPolicy[Debug log]
TestAccMonitoringMetricDescriptor_update[Debug log]
TestAccDataSourceGoogleServiceAccountJwt[Debug log]

Rerun these tests in REPLAYING mode to catch issues

$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$


$\textcolor{green}{\textsf{All tests passed!}}$
View the build log or the debug log for each test

@c2thorn c2thorn requested a review from roaks3 September 25, 2023 15:40

@roaks3 roaks3 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Awesome, glad to have this fixed!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants