From 70efa0e0ffeb911c6db4486d8e0b9659cce59ad2 Mon Sep 17 00:00:00 2001 From: kuba-mazurkiewicz Date: Mon, 21 Oct 2024 13:33:18 +0200 Subject: [PATCH] fix pipeline --- ise_device_admin.tf | 4 ++-- ise_network_access.tf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ise_device_admin.tf b/ise_device_admin.tf index 4c30c73..e8a6ad9 100644 --- a/ise_device_admin.tf +++ b/ise_device_admin.tf @@ -555,8 +555,8 @@ resource "ise_device_admin_authorization_global_exception_rule" "device_admin_au } resource "ise_device_admin_authorization_global_exception_rule_update_rank" "device_admin_authorization_global_exception_rule_update_rank" { - for_each = { for rule in local.device_admin_authorization_global_exception_rules_with_ranks : rule.key => rule } + for_each = { for rule in local.device_admin_authorization_global_exception_rules_with_ranks : rule.name => rule } rule_id = ise_device_admin_authorization_global_exception_rule.device_admin_authorization_global_exception_rule[each.value.name].id - rank = each.value.rank + rank = each.value.generated_rank } diff --git a/ise_network_access.tf b/ise_network_access.tf index c2b7653..93cf3ef 100644 --- a/ise_network_access.tf +++ b/ise_network_access.tf @@ -656,8 +656,8 @@ resource "ise_network_access_authorization_global_exception_rule" "network_acces } resource "ise_network_access_authorization_global_exception_rule_update_rank" "network_access_authorization_global_exception_rule_update_rank" { - for_each = { for rule in local.network_access_authorization_global_exception_rules_with_ranks : rule.key => rule } + for_each = { for rule in local.network_access_authorization_global_exception_rules_with_ranks : rule.name => rule } rule_id = ise_network_access_authorization_global_exception_rule.network_access_authorization_global_exception_rule[each.value.name].id - rank = each.value.rank + rank = each.value.generated_rank }