Skip to content

Commit

Permalink
fix issue with vpn_service_templates expecting equal definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
rrahimm committed Feb 2, 2024
1 parent b4b3494 commit c16dbe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdwan_device_templates.tf
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ resource "sdwan_feature_device_template" "feature_device_template" {
}],
])
}],
try(each.value.vpn_service_templates, null) == null ? [] : [for st in try(each.value.vpn_service_templates, []) : {
try(each.value.vpn_service_templates, null) == null ? null : [for st in try(each.value.vpn_service_templates, []) : {
id = sdwan_cisco_vpn_feature_template.cisco_vpn_feature_template[st.name].id
version = sdwan_cisco_vpn_feature_template.cisco_vpn_feature_template[st.name].version
type = "cisco_vpn"
Expand Down

0 comments on commit c16dbe7

Please sign in to comment.