cloud_former 0.4.11 → 0.4.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 884ce7ae5fa7f135b06a89940a520b41bf035a24
4
- data.tar.gz: c586d924d079f1e593097f0c02d6bbfde0913aff
3
+ metadata.gz: f83818f47a0de6309ac20c014f0ed089b926ff31
4
+ data.tar.gz: 6ce74b6ba8767fd3383664c64c1ba9cdde9764ff
5
5
  SHA512:
6
- metadata.gz: 09272cd1cac03246aa051a8d7eab11734c8d341bf284c4ba5341898fff8694d6c2491230a5890c98b1b8b21f07f3632dd65f5308a40157bb6720debaf2f98c30
7
- data.tar.gz: 01c364268b4c181b84a7fa3692ea4b6ee19741948c5991b38e4001270652100054470125d77ccbb241b0a3f7cdf9d559a0a29835b345f8d6e7fd27820a8b90bd
6
+ metadata.gz: c4fa66a4fda36099f4cb9c0629b9e61bdbdf6c9a22cdbf3ed7ea83474d7de2460343891fd71a857f8519e6bafef7a667e083b1dc6cebc19944bbf7f727d3d0d4
7
+ data.tar.gz: fbc669c4fbe29e006938f9a241542c0bdb1cb21d777e01bd555d54fdba20b1dcdf5ee6e698bbb4cde08bc4414c6c1914f79d636bbc32f26b99351fdf3e50d5b3
@@ -0,0 +1,13 @@
1
+ # http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-security-group-egress.html
2
+ module CloudFormer
3
+ module EC2
4
+ class SecurityGroupEgress < Resource
5
+ aws_property :cidr_ip, type: String
6
+ aws_property :destination_security_group_id, type: String
7
+ aws_property :from_port, type: Integer
8
+ aws_property :group_id, type: String
9
+ aws_property :ip_protocol, type: String
10
+ aws_property :to_port, type: Integer
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,16 @@
1
+ # http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html
2
+ module CloudFormer
3
+ module EC2
4
+ class SecurityGroupIngress < Resource
5
+ aws_property :cidr_ip, type: String
6
+ aws_property :from_port, type: Integer
7
+ aws_property :group_id, type: String
8
+ aws_property :group_name, type: String
9
+ aws_property :ip_protocol, type: String
10
+ aws_property :source_security_group_name, type: String
11
+ aws_property :source_security_group_id, type: String
12
+ aws_property :source_security_group_owner_id, type: String
13
+ aws_property :to_port, type: Integer
14
+ end
15
+ end
16
+ end
@@ -1,3 +1,3 @@
1
1
  module CloudFormer
2
- VERSION = '0.4.11'
2
+ VERSION = '0.4.12'
3
3
  end
data/lib/cloud_former.rb CHANGED
@@ -104,6 +104,8 @@ module CloudFormer
104
104
  autoload :Route, 'cloud_former/resources/ec2/route'
105
105
  autoload :RouteTable, 'cloud_former/resources/ec2/route_table'
106
106
  autoload :SecurityGroup, 'cloud_former/resources/ec2/security_group'
107
+ autoload :SecurityGroupEgress, 'cloud_former/resources/ec2/security_group_egress'
108
+ autoload :SecurityGroupIngress, 'cloud_former/resources/ec2/security_group_ingress'
107
109
  autoload :SecurityGroupRule, 'cloud_former/resource_properties/ec2/security_group_rule'
108
110
  autoload :Subnet, 'cloud_former/resources/ec2/subnet'
109
111
  autoload :SubnetNetworkAclAssociation, 'cloud_former/resources/ec2/subnet_network_acl_association'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloud_former
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.11
4
+ version: 0.4.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aubrey Holland
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-21 00:00:00.000000000 Z
11
+ date: 2015-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -200,6 +200,8 @@ files:
200
200
  - lib/cloud_former/resources/ec2/route.rb
201
201
  - lib/cloud_former/resources/ec2/route_table.rb
202
202
  - lib/cloud_former/resources/ec2/security_group.rb
203
+ - lib/cloud_former/resources/ec2/security_group_egress.rb
204
+ - lib/cloud_former/resources/ec2/security_group_ingress.rb
203
205
  - lib/cloud_former/resources/ec2/subnet.rb
204
206
  - lib/cloud_former/resources/ec2/subnet_network_acl_association.rb
205
207
  - lib/cloud_former/resources/ec2/subnet_route_table_association.rb