cfn-vpn 1.8.0 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 150d5c310df91f38fb0136841949f85cacfb5e3cce61dde33b6a5d8e5835c6c5
4
- data.tar.gz: 491ec001fe6e315be750c19003eeb18d3b2fd63a03630477a89531f8454f8938
3
+ metadata.gz: ee5ba16bbaada7aa00a5a370873c4c3b1e52e59442c990aa4daf351e04c97466
4
+ data.tar.gz: 2e7fbc5308f8c387721ff9268e127577e0060d4a3ff6555b2f967ab45b5da995
5
5
  SHA512:
6
- metadata.gz: 3bc9a43cd62eeb967b52589cfe7e816313cd4d260065e5a17317f1d19e9b9b8afc5d00279800854f0c4f8d319b8d7febf2b0a0ec3f7f79cea0bdbc2853cf16d6
7
- data.tar.gz: 0d10b220d8fbfb78f53ab0b0f3e0f586f0214b759a7ba6f605b8b8a05c4eeebb718b91618128e2414dd7c2b31792224287363836d5820717718ed5347e6b73fd
6
+ metadata.gz: 2c0634cf11ae59796c359fc372a9e5665d97c8c8017f62b2136795eb53435993b9031fe933ea8ba9ba3e7c1d5bd5098dd0c91cd7233c7f26d3d99798b944959b
7
+ data.tar.gz: 49fce7b9f34f3dcd942588de916073271af6c41f3945b7cb68e999ac1181812ebb1311b360f788960bded3b88c2aef89e620ff94dd4c2b2e8d1d97135d6cf69e
data/Dockerfile CHANGED
@@ -9,7 +9,7 @@ RUN apt-get update -qq \
9
9
  ENV EASYRSA=/usr/share/easy-rsa
10
10
  ENV EASYRSA_BATCH=yes
11
11
 
12
- ARG CFNVPN_VERSION="1.8.0"
12
+ ARG CFNVPN_VERSION="1.9.0"
13
13
 
14
14
  COPY . /src
15
15
 
@@ -203,7 +203,12 @@ module CfnVpn
203
203
 
204
204
  elsif route.has_key?(:cidr)
205
205
  target_subnets.each do |subnet|
206
+ # routes are tied to the subnet association: aws deletes them when the
207
+ # target network is disassociated, so they must be conditioned on the
208
+ # association to stay in sync with it.
206
209
  EC2_ClientVpnRoute(:"#{route[:cidr].resource_safe}VpnRouteTo#{subnet.resource_safe}"[0..255]) {
210
+ Condition(:EnableSubnetAssociation)
211
+ DependsOn network_assoc_dependson if network_assoc_dependson.any?
207
212
  Description "cfnvpn static route for #{route[:cidr]}. #{route[:desc]}".strip
208
213
  ClientVpnEndpointId Ref(:ClientVpnEndpoint)
209
214
  DestinationCidrBlock route[:cidr]
@@ -1,4 +1,4 @@
1
1
  module CfnVpn
2
- VERSION = "1.8.0".freeze
2
+ VERSION = "1.9.0".freeze
3
3
  CHANGE_SET_VERSION = VERSION.gsub('.', '-').freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfn-vpn
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guslington
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-08-21 00:00:00.000000000 Z
11
+ date: 2026-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor