Skip to content

Commit

Permalink
Make privilege level optional (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzarski0 authored Feb 22, 2024
1 parent 0ee6caa commit d3c79d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdwan_feature_templates.tf
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ resource "sdwan_cedge_aaa_feature_template" "cedge_aaa_feature_template" {
accounting_rules = try(length(each.value.accounting_rules) == 0, true) ? null : [for rule in each.value.accounting_rules : {
name = index(each.value.accounting_rules, rule)
method = rule.method
privilege_level = rule.privilege_level
privilege_level = try(rule.privilege_level, null)
start_stop = try(rule.start_stop, null)
start_stop_variable = try(rule.start_stop_variable, null)
groups = join(",", rule.groups)
Expand Down Expand Up @@ -1928,4 +1928,4 @@ resource "sdwan_vpn_interface_svi_feature_template" "vpn_interface_svi_feature_t
mac_address_variable = try(e.mac_address_variable, null)
optional = try(e.optional, null)
}]
}
}

0 comments on commit d3c79d2

Please sign in to comment.