Closed mike-guy closed 3 weeks ago
Hey you can try using CiscoDevNet/ise provider: https://registry.terraform.io/providers/CiscoDevNet/ise/latest/docs/resources/network_device_group
TF code can look like this:
variable "group_names" {
description = "List of group names"
type = list(string)
default = ["Group_1", "Group_2", "Group_3", "Group_4", "Group_5"]
}
resource "ise_network_device_group" "example" {
for_each = toset(var.group_names)
name = "Device Type#All Device Types#${each.key}"
description = "My network device group"
root_group = "Device Type"
}
This will create following groups on ISE:
Hi @mike-guy could you please retry it with last version of ISE provider and update us if bug still there?
If we don´t get answer, this issue will be closed in next 24 hours.
Describe the bug
The documentation for this resource says that the resource can use the following under parameters:
But using ndgtype does not work. This appears to be a reintroduction of the error in #94 or it wasn't resolved. Additionally, the documentation still references "othername" in the example...
Expected behaviour
Expected that the resource would be created, but it isn't.
Screenshots
Actual behaviour
Error back from ISE API stating that the property name ndgtype is not correct.
If I try and use othername in the resource, we get a terraform error instead stating this is not valid...
Environment (please complete the following information):