Skip to content

Commit

Permalink
Merge pull request #18 from quantum-sec/feature/EN-949
Browse files Browse the repository at this point in the history
EN-949: fix variable validations (patch)
  • Loading branch information
chrisjaimon2012 authored Jul 19, 2022
2 parents edad898 + d9cc6e8 commit 4f46b6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/azure-virtual-network-gateway/vars.tf
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ variable "vpn_client_configuration" {
for vpn_client_config in var.vpn_client_configuration : (
lookup(vpn_client_config, "vpn_client_protocols", null) == null ? true : alltrue([
for vpn_client_protocol in vpn_client_config["vpn_client_protocols"] : anytrue([
vpn_client_config["vpn_client_protocols"] == "SSTP",
vpn_client_config["vpn_client_protocols"] == "IkeV2",
vpn_client_config["vpn_client_protocols"] == "OpenVPN"
vpn_client_protocol == "SSTP",
vpn_client_protocol == "IkeV2",
vpn_client_protocol == "OpenVPN"
])
])
)
Expand Down

0 comments on commit 4f46b6e

Please sign in to comment.