Skip to content

Commit

Permalink
Merge pull request #27 from mitchclarkebase2/feature/mitch-fix
Browse files Browse the repository at this point in the history
Check if default_groups exists, update gem version
  • Loading branch information
jaredbrook authored Aug 5, 2024
2 parents 617eafd + 12b5acb commit fdb88b9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN apt-get update -qq \
ENV EASYRSA=/usr/share/easy-rsa
ENV EASYRSA_BATCH=yes

ARG CFNVPN_VERSION="1.5.0"
ARG CFNVPN_VERSION="1.6.0"

COPY . /src

Expand Down
2 changes: 1 addition & 1 deletion lib/cfnvpn/templates/vpn.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def render(name, config)
network_assoc_dependson << "ClientVpnTargetNetworkAssociation#{suffix}"
end

if config[:default_groups].any?
if !config[:default_groups].nil? && config[:default_groups].any?
config[:default_groups].each do |group|
EC2_ClientVpnAuthorizationRule(:"TargetNetworkAuthorizationRule#{group.resource_safe}"[0..255]) {
Condition(:EnableSubnetAssociation)
Expand Down
2 changes: 1 addition & 1 deletion lib/cfnvpn/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module CfnVpn
VERSION = "1.5.0".freeze
VERSION = "1.6.0".freeze
CHANGE_SET_VERSION = VERSION.gsub('.', '-').freeze
end

0 comments on commit fdb88b9

Please sign in to comment.