Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: compute instance internal ipv6 prefix length is not set in creation and read in syncing #13133

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jingjia-peng
Copy link

Fixes hashicorp/terraform-provider-google#21520.

This ensures that Terraform correctly reads the compute_instance.network_interface.internal_ipv6_prefix_length from GCP and stores it in terraform.state. Previously, the absence of this value in terraform.state caused compute_instance to be considered modified, even when no changes were made to the configuration.

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.

compute: fix `compute_instance.network_interface.internal_ipv6_prefix_length` not being set or read in Terraform state  

Copy link

google-cla bot commented Feb 20, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@github-actions github-actions bot requested a review from roaks3 February 20, 2025 19:03
Copy link

Hello! I am a robot. Tests will require approval from a repository maintainer to run.

@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 Feb 20, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
awaiting-approval Pull requests that need reviewer's approval to run presubmit tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

google_compute_instance.network_interface.internal_ipv6_prefix_length value is not sync with Terraform
2 participants