ISE version = 3.2 p4
Terraform version = 1.6.6
Provider version = 0.1.10
Issue description
Need a way to retrieve rule ID for Default AuthZ Policy in order to update the AuthZ Profile assigned to it.
Documentation lists 'policy_set_id' as the only required attribute, but upon apply it throws an error for Missing Attribute Configuration. If I add the 'name' attribute, it throws a Client Error.
Example TF code
data "ise_network_access_authorization_rule" "mm_authz_rules" {
policy_set_id = ise_network_access_policy_set.ps_wired_mm.id
}
Resulting error
tf apply --auto-approve
╷
│ Error: Missing Attribute Configuration
│
│ with data.ise_network_access_authorization_rule.mm_authz_rules,
│ on policyset_mm.tf line 192, in data "ise_network_access_authorization_rule" "mm_authz_rules":
│ 192: data "ise_network_access_authorization_rule" "mm_authz_rules" {
│
│ Exactly one of these attributes must be configured: [id,name]
Example code with name = "Default"
data "ise_network_access_authorization_rule" "mm_authz_rules" {
policy_set_id = ise_network_access_policy_set.ps_wired_mm.id
name = "Default"
Resulting error
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: Client Error
│
│ with data.ise_network_access_authorization_rule.mm_authz_rules,
│ on policyset_mm.tf line 192, in data "ise_network_access_authorization_rule" "mm_authz_rules":
│ 192: data "ise_network_access_authorization_rule" "mm_authz_rules" {
│
│ Failed to find object with name: Default
Example GET API call output
{{baseUrl}}/network-access/policy-set/:policyId/authorization
ISE version = 3.2 p4 Terraform version = 1.6.6 Provider version = 0.1.10
Issue description Need a way to retrieve rule ID for Default AuthZ Policy in order to update the AuthZ Profile assigned to it. Documentation lists 'policy_set_id' as the only required attribute, but upon apply it throws an error for Missing Attribute Configuration. If I add the 'name' attribute, it throws a Client Error.
Example TF code
Resulting error
Example code with name = "Default"
Resulting error
Example GET API call output {{baseUrl}}/network-access/policy-set/:policyId/authorization