From 02d8f0de482d4cac4970ac0d330b95369f6e1e17 Mon Sep 17 00:00:00 2001 From: rrahimm <39684933+rrahimm@users.noreply.github.com> Date: Mon, 4 Nov 2024 20:19:02 +0530 Subject: [PATCH] Feature Template | Secure app hosting | add additional variables (#61) * add variable version of paramters * update change log * update changelog --------- Co-authored-by: tzarski0 <92273798+tzarski0@users.noreply.github.com> --- CHANGELOG.md | 1 + sdwan_feature_templates.tf | 11 +++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f758cf6..012e926 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ - add support for sdwan_policy_object_mirror resource - add support for sdwan_policy_object_policer resource - add support for sdwan_policy_object_tloc_list resource +- add support for variables in secure app hosting feature template ## 0.1.0 diff --git a/sdwan_feature_templates.tf b/sdwan_feature_templates.tf index c639c66..062923d 100644 --- a/sdwan_feature_templates.tf +++ b/sdwan_feature_templates.tf @@ -2004,9 +2004,12 @@ resource "sdwan_security_app_hosting_feature_template" "security_app_hosting_fea description = each.value.description device_types = [for d in try(each.value.device_types, local.defaults.sdwan.edge_feature_templates.secure_app_hosting_templates.device_types) : try(local.device_type_map[d], "vedge-${d}")] virtual_applications = [{ - nat = try(each.value.nat, null) - database_url = try(each.value.download_url_database_on_device, null) - resource_profile = try(each.value.resource_profile, null) - instance_id = 1 + nat = try(each.value.nat, null) + nat_variable = try(each.value.nat_variable, null) + database_url = try(each.value.download_url_database_on_device, null) + database_url_variable = try(each.value.download_url_database_on_device_variable, null) + resource_profile = try(each.value.resource_profile, null) + resource_profile_variable = try(each.value.resource_profile_variable, null) + instance_id = 1 }] }