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

Fixed incorrect immutable flag on linked_router_appliance_instances instances #14578

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

Merged
merged 2 commits into from
Jul 24, 2025

Conversation

r-teller
Copy link
Contributor

@r-teller r-teller commented Jul 20, 2025

networkconnectivity: fixed `instances[].ip_address` & `instances[].virtual_machine` fields in `linked_router_appliance_instances` block being incorrectly treated as immutable for `google_network_connectivity_spoke` resource

networkconnectivity: fixed `instances[].ip_address` & `instances[].virtual_machine` fields in `linked_router_appliance_instances` block being incorrectly treated as immutable for `google_network_connectivity_spoke` resource
```
@github-actions github-actions bot requested a review from roaks3 July 20, 2025 16:48
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.

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

@modular-magician modular-magician added the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Jul 20, 2025
@r-teller
Copy link
Contributor Author

This PR will allow terraform to add or remove instances to linked_router_appliance_instances without requiring deletion of the existing spoke. This behavior aligns with how the gcloud and console behave

@modular-magician modular-magician added service/network-connectivity-center and removed awaiting-approval Pull requests that need reviewer's approval to run presubmit tests labels Jul 22, 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 ( 2 files changed, 50 insertions(+), 4 deletions(-))
google-beta provider: Diff ( 2 files changed, 50 insertions(+), 4 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 39
Passed tests: 36
Skipped tests: 1
Affected tests: 2

Click here to see the affected service packages
  • networkconnectivity
#### Action taken
Found 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccNetworkConnectivitySpoke_RouterApplianceHandWritten
  • TestAccNetworkConnectivitySpoke_RouterApplianceHandWrittenLongForm

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccNetworkConnectivitySpoke_RouterApplianceHandWritten [Debug log]
TestAccNetworkConnectivitySpoke_RouterApplianceHandWrittenLongForm [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🟢 All tests passed!

View the build log or the debug log for each test

Copy link
Contributor

@roaks3 roaks3 left a comment

Choose a reason for hiding this comment

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

LGTM

Is there a GitHub issue we should tie this to before we merge?

@r-teller
Copy link
Contributor Author

LGTM

Is there a GitHub issue we should tie this to before we merge?

There is no issue, I noticed the issue during a deployment and it was quicker to fix

@github-actions github-actions bot requested a review from roaks3 July 24, 2025 04:46
@roaks3 roaks3 added this pull request to the merge queue Jul 24, 2025
Merged via the queue into GoogleCloudPlatform:main with commit bbd82df Jul 24, 2025
26 of 28 checks passed
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.

3 participants