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
Then I logged into the switch and performed and out-of-band change with the following lines:
configure terminalip access-list TESTno 1010 permit ip 10.0.0.0/8 192.168.0.0/24
Then after running terraform apply, out-of-band changes were detected on that resource
$ terraform applynxos_ipv4_access_list.acl: Refreshing state... [id=sys/acl/ipv4/name-[TEST]]nxos_ipv4_access_list_entry.acl_entry: Refreshing state... [id=sys/acl/ipv4/name-[TEST]/seq-[10]]Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: ~ update in-placeTerraform will perform the following actions: # nxos_ipv4_access_list_entry.acl_entry will be updated in-place ~ resource "nxos_ipv4_access_list_entry" "acl_entry" { ~ destination_prefix_length = "24" -> "16" id = "sys/acl/ipv4/name-[TEST]/seq-[10]" name = "TEST" # (19 unchanged attributes hidden) }Plan: 0 to add, 1 to change, 0 to destroy.Do you want to perform these actions? Terraform will perform the actions described above. Only 'yes' will be accepted to approve. Enter a value:
But at the configuration time Terraform failed
Enter a value: yesnxos_ipv4_access_list_entry.acl_entry: Modifying... [id=sys/acl/ipv4/name-[TEST]/seq-[10]]╷│ Error: Client Error│ │ with nxos_ipv4_access_list_entry.acl_entry,│ on main.tf line 21, in resource "nxos_ipv4_access_list_entry" "acl_entry":│ 21: resource "nxos_ipv4_access_list_entry" "acl_entry" {│ │ Failed to update object, got error: JSON error: {"imdata":[{"error": {"attributes": {"code": "1","text": "Duplicate sequence│ number\nfaulty_dn=sys\/acl\/ipv4\/name-TEST\/seq-10"}}}]}
The text was updated successfully, but these errors were encountered:
Initially I run the following Terraform Execution plan
Then I logged into the switch and performed and out-of-band change with the following lines:
Then after running
terraform apply
, out-of-band changes were detected on that resourceBut at the configuration time Terraform failed
The text was updated successfully, but these errors were encountered: