Skip to content

google_compute_router_peer without advertised_route_priority triggers change when modified manually but does nothing #25494

@jirizemanek

Description

@jirizemanek

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
  • Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.
  • If an issue is assigned to a user, that user is claiming responsibility for the issue.
  • Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.

Terraform Version & Provider Version(s)

Terraform v1.5.7
on linux_amd64

  • provider registry.terraform.io/hashicorp/google v7.13.0
  • provider registry.terraform.io/hashicorp/google-beta v7.13.0
  • provider registry.terraform.io/hashicorp/time v0.13.1

Affected Resource(s)

google_compute_router_peer

Terraform Configuration

Debug Output

No response

Expected Behavior

advertised_route_priority being "unset" or no update triggered (i.e. when not passed as a parameter changes are ignored)

Actual Behavior

terraform triggers update but the result is the same (does actually nothing)

Steps to reproduce

  1. Create the resource without advertised_route_priority parameter set.
  2. Manually update MED via Google cloud web UI
  3. run terraform apply again
  4. and again

Important Factoids

No response

References

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions