Skip to content

Commit fdb88b9

Browse files
authored
Merge pull request #27 from mitchclarkebase2/feature/mitch-fix
Check if default_groups exists, update gem version
2 parents 617eafd + 12b5acb commit fdb88b9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN apt-get update -qq \
99
ENV EASYRSA=/usr/share/easy-rsa
1010
ENV EASYRSA_BATCH=yes
1111

12-
ARG CFNVPN_VERSION="1.5.0"
12+
ARG CFNVPN_VERSION="1.6.0"
1313

1414
COPY . /src
1515

lib/cfnvpn/templates/vpn.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def render(name, config)
8383
network_assoc_dependson << "ClientVpnTargetNetworkAssociation#{suffix}"
8484
end
8585

86-
if config[:default_groups].any?
86+
if !config[:default_groups].nil? && config[:default_groups].any?
8787
config[:default_groups].each do |group|
8888
EC2_ClientVpnAuthorizationRule(:"TargetNetworkAuthorizationRule#{group.resource_safe}"[0..255]) {
8989
Condition(:EnableSubnetAssociation)

lib/cfnvpn/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module CfnVpn
2-
VERSION = "1.5.0".freeze
2+
VERSION = "1.6.0".freeze
33
CHANGE_SET_VERSION = VERSION.gsub('.', '-').freeze
44
end

0 commit comments

Comments
 (0)