-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Terraform Version
Terraform v1.5.7
on darwin_arm64
- provider registry.terraform.io/ciscodevnet/ise v0.2.12
ISE version and ISE Platform
V 3.4 Patch 3
Affected Resource(s)
- ise_network_access_policy_set
Issue at hand
Seems that the REST API is complaining about missing values that are clearly present in the Terraform script.
Steps to Reproduce
resource "ise_network_access_policy_set" "example" {
name = "example"
rank = 0
state = "enabled"
condition_type = "ConditionAndBlock"
condition_is_negate = false
children = [
{
condition_type = "ConditionAttributes"
condition_is_negate = false
condition_dictionary_name = "Radius"
condition_attribute_name = "NAS-Port-Type"
condition_operator = "equals"
condition_attribute_value = "Wireless - IEEE 802.11"
},
{
condition_type = "ConditionAttributes"
condition_is_negate = false
condition_dictionary_name = "DEVICE"
condition_attribute_name = "Location"
condition_operator = "equals"
condition_attribute_value = "All Locations"
}
]
service_name = "Default Network Access"
is_proxy = false
}
Expected Behavior
Policy set created with And block.
Actual Behavior
│ Error: Client Error
│
│ with ise_network_access_policy_set.example,
│ on policy_sets.tf line 42, in resource "ise_network_access_policy_set" "example":
│ 42: resource "ise_network_access_policy_set" "example" {
│
│ Failed to configure object (POST), got error: HTTP Request failed: StatusCode 400, Message: , {
│ "message" : "condition.children[0].**attributeValue**, must not be null, condition.children[0].**attributeName**, must not be null, condition.children[0].**dictionaryName**, must not be null, condition.children[0].**operator**, must not be null",
│ "code" : 400
│ }
References
Metadata
Metadata
Assignees
Labels
No labels