You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"vlan_id": {
Type: schema.TypeString,
Optional: true,
Description: "UUID of the VLAN to associate",
ExactlyOneOf: []string{"vlan_id", "vrf_id"},
},
I think there was a confusion between vlan_id and vnid, because they are also mixed in the API, actually vnid is been checked in the update function but it is a computed attribute.
if d.HasChange("vlan_id") {
vnid := d.Get("vlan_id").(string)
ur.VirtualNetworkID = &vnid
}
The text was updated successfully, but these errors were encountered:
ocobles
changed the title
r/equinix_metal_virtual_circuit vlan field must be updateable, and not force_new
r/equinix_metal_virtual_circuit vlan_id field must be updateable, and not force_new
Nov 22, 2022
Looking for an alternative for the situation described in #222
I just found that
vlan_id
has force_new but it is something that can be updated in the API.terraform-provider-equinix/equinix/resource_metal_virtual_circuit.go
Lines 74 to 80 in eae28ce
It must be replaced with:
I think there was a confusion between
vlan_id
andvnid
, because they are also mixed in the API, actuallyvnid
is been checked in the update function but it is a computed attribute.terraform-provider-equinix/equinix/resource_metal_virtual_circuit.go
Lines 293 to 296 in eae28ce
It must be replaced with:
The text was updated successfully, but these errors were encountered: