ec2launcher 1.0.12 → 1.0.13
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/lib/ec2launcher.rb +3 -1
- data/lib/ec2launcher/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## 1.0.13
|
2
|
+
|
3
|
+
* Fix use of security groups when launching an instance into the public cloud with a security group that is defined with the same name in both the public cloud and a VPC.
|
4
|
+
|
1
5
|
## 1.0.12
|
2
6
|
|
3
7
|
* Embed runurl and setup.rb scripts in user-data to avoid having to retrieve them.
|
data/lib/ec2launcher.rb
CHANGED
@@ -164,7 +164,9 @@ module EC2Launcher
|
|
164
164
|
sg_map = { }
|
165
165
|
AWS.start_memoizing
|
166
166
|
@ec2.security_groups.each do |sg|
|
167
|
-
|
167
|
+
if ec2_subnet.nil?
|
168
|
+
next unless sg.vpc_id.nil?
|
169
|
+
else
|
168
170
|
next unless ec2_subnet.vpc_id == sg.vpc_id
|
169
171
|
end
|
170
172
|
sg_map[sg.name] = sg
|
data/lib/ec2launcher/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ec2launcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.13
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07-
|
12
|
+
date: 2012-07-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk
|