Skip to content
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

[Bug]: routing protocol requires update even with no changes #671

Open
ocobles opened this issue May 9, 2024 · 0 comments
Open

[Bug]: routing protocol requires update even with no changes #671

ocobles opened this issue May 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ocobles
Copy link
Contributor

ocobles commented May 9, 2024

Terraform Version

Terraform v1.8.0 on darwin_amd64

Equinix Provider Version

v1.36.3

Effected Terraform Resources

equinix_fabric_routing_protocol

Terraform Config Files

resource "equinix_fabric_routing_protocol" "direct"{
  connection_uuid = var.connection_id
  type = "DIRECT"
  name = "direct_rp"
  direct_ipv4 {
    equinix_iface_ip = var.equinix_side_peer_ip
  }
}

Debug Output

2024-05-09T17:30:35.862+0200 [WARN] Provider "registry.terraform.io/equinix/equinix" produced an unexpected new value for equinix_fabric_routing_protocol.direct during refresh.
- .direct_ipv6: actual set element cty.ObjectVal(map[string]cty.Value{"equinix_iface_ip":cty.StringVal("")}) does not correlate with any element in plan
- .direct_ipv6: block set length changed from 0 to 1

Panic Output

No response

Expected Behavior

no update required if there were no changes

Actual Behavior

Terraform used the selected providers to generate the following execution plan. Resource
actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # equinix_fabric_routing_protocol.direct will be updated in-place
  ~ resource "equinix_fabric_routing_protocol" "direct" {
        id              = "90e96ef8-75a1-4311-b466-53cbaf5e1df3"
        name            = "direct_rp"
        # (7 unchanged attributes hidden)

      - direct_ipv6 {
            # (1 unchanged attribute hidden)
        }

        # (1 unchanged block hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

Steps to Reproduce

terraform plan after a successful terraform apply

@ocobles ocobles added the bug Something isn't working label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant