Skip to content

Commit

Permalink
Feature Template | Secure app hosting | add additional variables (#61)
Browse files Browse the repository at this point in the history
* add variable version of paramters

* update change log

* update changelog

---------

Co-authored-by: tzarski0 <[email protected]>
  • Loading branch information
rrahimm and tzarski0 authored Nov 4, 2024
1 parent 3b55348 commit 02d8f0d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
11 changes: 7 additions & 4 deletions sdwan_feature_templates.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}]
}

0 comments on commit 02d8f0d

Please sign in to comment.