Describe the bug
I want to update an exist device.
When I use the rest API like so it works just fine
url = "https://192.168.10:9060/ers/config/networkdevice/"+devid response = requests.request("PUT", url, headers=headers, data=json.dumps(payload), verify=False)
I am able to update an existing Network Device. But when I use
`resource "ise_network_device" "ise_en" {
name = "sw-003"
description = "EN"
ips = [
{
ipaddress = "10.10.10.169"
mask = "32"
}
]
network_device_groups =[
Prerequisites
Describe the bug I want to update an exist device. When I use the rest API like so it works just fine
url = "https://192.168.10:9060/ers/config/networkdevice/"+devid response = requests.request("PUT", url, headers=headers, data=json.dumps(payload), verify=False)
I am able to update an existing Network Device. But when I use `resource "ise_network_device" "ise_en" {name = "sw-003" description = "EN" ips = [ { ipaddress = "10.10.10.169" mask = "32" } ] network_device_groups =[
"Location#All Locations#Test Sites",
]
}
I get error telling that the Device Name Already Exist
Error: Client Error │ │ with ise_network_device.ise_en, │ on 000_Ipam.tf line 111, in resource "ise_network_device" "ise_en": │ 111: resource "ise_network_device" "ise_en" { │ │ Failed to configure object (POST), got error: HTTP Request failed: StatusCode 400, Message: Network Device Create failed: Device Name Already Exist,`Expected behavior A clear and concise description of what you expected to happen.
Screenshots
Environment (please complete the following information):
Additional context Add any other context about the problem here.