-
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
Make terraform_labels field immutable for immutable resources #9394
Conversation
The diff appears to be missing all generated immutable resources such as google_cloud_run_domain_mapping |
Tests analyticsTotal tests:
|
68a2f1a
to
37838a2
Compare
Yeah, submitted a new revision. |
37838a2
to
d9382e4
Compare
Tests analyticsTotal tests: Action takenFound 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccDataprocClusterIamPolicy|TestAccSpannerDatabaseIamPolicy |
d9382e4
to
6e5401b
Compare
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. Terraform GA: Diff ( 19 files changed, 122 insertions(+), 1 deletion(-)) |
Tests analyticsTotal tests: Action takenFound 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccCloudRunDomainMapping_migration|TestAccComputeInstanceTemplate_migration |
Rerun these tests in REPLAYING mode to catch issues
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.
|
6e5401b
to
7d92968
Compare
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. Terraform GA: Diff ( 20 files changed, 126 insertions(+), 3 deletions(-)) |
Tests analyticsTotal tests: Action takenFound 4 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccLoggingBucketConfigProject_locked|TestAccLoggingProjectSink_updatePreservesCustomWriter|TestAccDataSourceGoogleServiceAccountAccessToken_basic|TestAccDataSourceGoogleServiceAccountIdToken_impersonation |
Rerun these tests in REPLAYING mode to catch issues
|
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. Terraform GA: Diff ( 16 files changed, 122 insertions(+), 2 deletions(-)) |
I will move forward with add I tested with the solution to use empty update, but stopped working on it for a couple of reasons.
|
24d95ed
to
6fd8930
Compare
Ah, because |
Yeah. For the immutable resource with top level But for the immutable resource with |
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. Terraform GA: Diff ( 15 files changed, 121 insertions(+), 2 deletions(-)) |
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.
Haven't made a full pass yet, but will Mon
mmv1/third_party/terraform/website/docs/guides/version_5_upgrade.html.markdown
Outdated
Show resolved
Hide resolved
mmv1/third_party/terraform/services/dataflow/resource_dataflow_flex_template_job_test.go.erb
Outdated
Show resolved
Hide resolved
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. Terraform GA: Diff ( 15 files changed, 278 insertions(+), 4 deletions(-)) |
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. Terraform GA: Diff ( 15 files changed, 280 insertions(+), 3 deletions(-)) |
97821a5
to
bbcf1a8
Compare
bbcf1a8
to
da34c4f
Compare
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. Terraform GA: Diff ( 14 files changed, 309 insertions(+), 4 deletions(-)) |
Tests analyticsTotal tests: Action takenFound 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccDataprocJobIamPolicy|TestAccSpannerDatabaseIamPolicy |
Rerun these tests in REPLAYING mode to catch issues
|
…CloudPlatform#9394) * Make terraform_labels field immutable for immutable resources * Revert change for dataflow job * Skip updatable resources * Use empty update for the handwritten immutable resources * Update upgrade guide * Remove dataflow tests * Address comments * Add forceNew to all subfields
…CloudPlatform#9394) * Make terraform_labels field immutable for immutable resources * Revert change for dataflow job * Skip updatable resources * Use empty update for the handwritten immutable resources * Update upgrade guide * Remove dataflow tests * Address comments * Add forceNew to all subfields
…CloudPlatform#9394) * Make terraform_labels field immutable for immutable resources * Revert change for dataflow job * Skip updatable resources * Use empty update for the handwritten immutable resources * Update upgrade guide * Remove dataflow tests * Address comments * Add forceNew to all subfields
fixes hashicorp/terraform-provider-google#16374
part of hashicorp/terraform-provider-google#16424
ForceNew
is added to the following resources. The state upgrades are needed for these resources to avoid resource recreation when upgrading to provider 5.x.Empty update method is added to the handwritten resources and
ForceNew
is removed from 'labels' field to address the errorAll fields are ForceNew or Computed w/out Optional, Update is superfluous
Unaffected resources with update methods:
Release Note Template for Downstream PRs (will be copied)