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 +4 -4
- data/Dockerfile +1 -1
- data/lib/cfnvpn/templates/vpn.rb +5 -0
- data/lib/cfnvpn/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ee5ba16bbaada7aa00a5a370873c4c3b1e52e59442c990aa4daf351e04c97466
|
|
4
|
+
data.tar.gz: 2e7fbc5308f8c387721ff9268e127577e0060d4a3ff6555b2f967ab45b5da995
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2c0634cf11ae59796c359fc372a9e5665d97c8c8017f62b2136795eb53435993b9031fe933ea8ba9ba3e7c1d5bd5098dd0c91cd7233c7f26d3d99798b944959b
|
|
7
|
+
data.tar.gz: 49fce7b9f34f3dcd942588de916073271af6c41f3945b7cb68e999ac1181812ebb1311b360f788960bded3b88c2aef89e620ff94dd4c2b2e8d1d97135d6cf69e
|
data/Dockerfile
CHANGED
data/lib/cfnvpn/templates/vpn.rb
CHANGED
|
@@ -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]
|
data/lib/cfnvpn/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2026-08-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|