equinix / terraform-provider-equinix

Terraform Equinix provider
https://deploy.equinix.com/labs/terraform-provider-equinix/
MIT License
47 stars 45 forks source link

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

Open ocobles opened 1 month ago

ocobles commented 1 month ago

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.

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