Skip to content

Commit 3e73e81

Browse files
update changelog
1 parent d901d6d commit 3e73e81

File tree

4 files changed

+15
-10
lines changed

4 files changed

+15
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## 0.2.7 (unreleased)
22

3+
- Add `network_access_*_update_ranks` and `device_admin_*_update_ranks` resources to enable bulk updates of ranks across (Policy Sets, Authentication Rules, Authorization Rules, Authorization Global Exception Rules and Authorization Exception Rules) under Network Access and Device Administration, bypassing an API limitation that restricts rank assignments to a strictly incremental sequence. More detailed information is available [here](https://registry.terraform.io/providers/CiscoDevNet/ise/latest/docs/guides/authentication_rules).
34
- Fix issue with adding new groups to existing `ise_active_directory_add_groups` resource, [link](https://github.com/CiscoDevNet/terraform-provider-ise/issues/113)
4-
- Add `network_access_authorization_rule_update_ranks` resource to update rank on all network access authorization rules under same policy set
55

66
## 0.2.6
77

docs/guides/changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ description: |-
99

1010
## 0.2.7 (unreleased)
1111

12+
- Add `network_access_*_update_ranks` and `device_admin_*_update_ranks` resources to enable bulk updates of ranks across (Policy Sets, Authentication Rules, Authorization Rules, Authorization Global Exception Rules and Authorization Exception Rules) under Network Access and Device Administration, bypassing an API limitation that restricts rank assignments to a strictly incremental sequence. More detailed information is available [here](https://registry.terraform.io/providers/CiscoDevNet/ise/latest/docs/guides/authentication_rules).
1213
- Fix issue with adding new groups to existing `ise_active_directory_add_groups` resource, [link](https://github.com/CiscoDevNet/terraform-provider-ise/issues/113)
13-
- Add `network_access_authorization_rule_update_ranks` resource to update rank on all network access authorization rules under same policy set
1414

1515
## 0.2.6
1616

examples/basic/authentication_rules/main.tf

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ locals {
1717
{ name = "rule_2" },
1818
{ name = "rule_3" },
1919
{ name = "rule_4" },
20-
{ name = "rule_5" }
20+
{ name = "rule_5" },
21+
{ name = "rule_6" },
22+
{ name = "rule_7" },
23+
{ name = "rule_8" },
24+
{ name = "rule_9" }
2125
]
22-
}
2326

24-
locals {
2527
rules_with_ranks = [
2628
for idx, rule in local.rules : merge(rule, {
2729
rank = idx
@@ -47,9 +49,12 @@ resource "ise_network_access_authentication_rule" "auth_rule" {
4749
if_user_not_found = "REJECT"
4850
}
4951

50-
resource "ise_network_access_authentication_rule_update_rank" "example_with_rank" {
51-
for_each = { for rule in local.rules_with_ranks : rule.name => rule }
52+
resource "ise_network_access_authentication_rule_update_ranks" "example_with_ranks" {
5253
policy_set_id = ise_network_access_policy_set.policy_set_1.id
53-
rule_id = ise_network_access_authentication_rule.auth_rule[each.value.name].id
54-
rank = each.value.rank
54+
rules = [for rule in local.rules_with_ranks :
55+
{
56+
id = ise_network_access_authentication_rule.auth_rule[rule.name].id
57+
rank = rule.rank
58+
}
59+
]
5560
}

templates/guides/changelog.md.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ description: |-
99

1010
## 0.2.7 (unreleased)
1111

12+
- Add `network_access_*_update_ranks` and `device_admin_*_update_ranks` resources to enable bulk updates of ranks across (Policy Sets, Authentication Rules, Authorization Rules, Authorization Global Exception Rules and Authorization Exception Rules) under Network Access and Device Administration, bypassing an API limitation that restricts rank assignments to a strictly incremental sequence. More detailed information is available [here](https://registry.terraform.io/providers/CiscoDevNet/ise/latest/docs/guides/authentication_rules).
1213
- Fix issue with adding new groups to existing `ise_active_directory_add_groups` resource, [link](https://github.com/CiscoDevNet/terraform-provider-ise/issues/113)
13-
- Add `network_access_authorization_rule_update_ranks` resource to update rank on all network access authorization rules under same policy set
1414

1515
## 0.2.6
1616

0 commit comments

Comments
 (0)