@@ -17,13 +17,13 @@ resource "iosxe_aaa" "aaa" {
1717
1818 ip_radius_source_interface_loopback = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_type , null ) == " Loopback" ? try (e. source_interface_id , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_id , null ) : null
1919 ip_radius_source_interface_vlan = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_type , null ) == " Vlan" ? try (e. source_interface_id , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_id , null ) : null
20- ip_radius_source_interface_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_type , null ) == " GigabitEthernet" ? try (e. source_interface_id , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_id , null ) : null
21- ip_radius_source_interface_two_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_type , null ) == " TwoGigabitEthernet" ? try (e. source_interface_id , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_id , null ) : null
22- ip_radius_source_interface_five_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_type , null ) == " FiveGigabitEthernet" ? try (e. source_interface_id , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_id , null ) : null
23- ip_radius_source_interface_ten_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_type , null ) == " TenGigabitEthernet" ? try (e. source_interface_id , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_id , null ) : null
24- ip_radius_source_interface_twenty_five_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_type , null ) == " TwentyFiveGigabitEthernet" ? try (e. source_interface_id , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_id , null ) : null
25- ip_radius_source_interface_forty_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_type , null ) == " FortyGigabitEthernet" ? try (e. source_interface_id , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_id , null ) : null
26- ip_radius_source_interface_hundred_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_type , null ) == " HundredGigabitEthernet" ? try (e. source_interface_id , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_id , null ) : null
20+ ip_radius_source_interface_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_type , null ) == " GigabitEthernet" ? try (trimprefix ( e. source_interface_id , " $string " ) , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_id , null ) : null
21+ ip_radius_source_interface_two_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_type , null ) == " TwoGigabitEthernet" ? try (trimprefix ( e. source_interface_id , " $string " ) , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_id , null ) : null
22+ ip_radius_source_interface_five_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_type , null ) == " FiveGigabitEthernet" ? try (trimprefix ( e. source_interface_id , " $string " ) , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_id , null ) : null
23+ ip_radius_source_interface_ten_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_type , null ) == " TenGigabitEthernet" ? try (trimprefix ( e. source_interface_id , " $string " ) , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_id , null ) : null
24+ ip_radius_source_interface_twenty_five_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_type , null ) == " TwentyFiveGigabitEthernet" ? try (trimprefix ( e. source_interface_id , " $string " ) , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_id , null ) : null
25+ ip_radius_source_interface_forty_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_type , null ) == " FortyGigabitEthernet" ? try (trimprefix ( e. source_interface_id , " $string " ) , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_id , null ) : null
26+ ip_radius_source_interface_hundred_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_type , null ) == " HundredGigabitEthernet" ? try (trimprefix ( e. source_interface_id , " $string " ) , local. defaults . iosxe . configuration . aaa . radius_groups . source_interface_id , null ) : null
2727 server_names = try (length (e. server_names ) == 0 , true ) ? null : [for s in e . server_names : {
2828 name = s
2929 }]
@@ -33,13 +33,13 @@ resource "iosxe_aaa" "aaa" {
3333 vrf = try (e. vrf , local. defaults . iosxe . configuration . aaa . tacacs_groups . vrf , null )
3434 ip_tacacs_source_interface_loopback = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_type , null ) == " Loopback" ? try (e. source_interface_id , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_id , null ) : null
3535 ip_tacacs_source_interface_vlan = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_type , null ) == " Vlan" ? try (e. source_interface_id , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_id , null ) : null
36- ip_tacacs_source_interface_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_type , null ) == " GigabitEthernet" ? try (e. source_interface_id , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_id , null ) : null
37- ip_tacacs_source_interface_two_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_type , null ) == " TwoGigabitEthernet" ? try (e. source_interface_id , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_id , null ) : null
38- ip_tacacs_source_interface_five_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_type , null ) == " FiveGigabitEthernet" ? try (e. source_interface_id , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_id , null ) : null
39- ip_tacacs_source_interface_ten_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_type , null ) == " TenGigabitEthernet" ? try (e. source_interface_id , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_id , null ) : null
40- ip_tacacs_source_interface_twenty_five_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_type , null ) == " TwentyFiveGigabitEthernet" ? try (e. source_interface_id , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_id , null ) : null
41- ip_tacacs_source_interface_forty_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_type , null ) == " FortyGigabitEthernet" ? try (e. source_interface_id , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_id , null ) : null
42- ip_tacacs_source_interface_hundred_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_type , null ) == " HundredGigabitEthernet" ? try (e. source_interface_id , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_id , null ) : null
36+ ip_tacacs_source_interface_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_type , null ) == " GigabitEthernet" ? try (trimprefix ( e. source_interface_id , " $string " ) , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_id , null ) : null
37+ ip_tacacs_source_interface_two_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_type , null ) == " TwoGigabitEthernet" ? try (trimprefix ( e. source_interface_id , " $string " ) , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_id , null ) : null
38+ ip_tacacs_source_interface_five_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_type , null ) == " FiveGigabitEthernet" ? try (trimprefix ( e. source_interface_id , " $string " ) , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_id , null ) : null
39+ ip_tacacs_source_interface_ten_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_type , null ) == " TenGigabitEthernet" ? try (trimprefix ( e. source_interface_id , " $string " ) , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_id , null ) : null
40+ ip_tacacs_source_interface_twenty_five_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_type , null ) == " TwentyFiveGigabitEthernet" ? try (trimprefix ( e. source_interface_id , " $string " ) , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_id , null ) : null
41+ ip_tacacs_source_interface_forty_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_type , null ) == " FortyGigabitEthernet" ? try (trimprefix ( e. source_interface_id , " $string " ) , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_id , null ) : null
42+ ip_tacacs_source_interface_hundred_gigabit_ethernet = try (e. source_interface_type , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_type , null ) == " HundredGigabitEthernet" ? try (trimprefix ( e. source_interface_id , " $string " ) , local. defaults . iosxe . configuration . aaa . tacacs_groups . source_interface_id , null ) : null
4343 server_names = try (length (e. server_names ) == 0 , true ) ? null : [for s in e . server_names : {
4444 name = s
4545 }]
0 commit comments