cfndsl 0.12.9 → 0.12.10
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/lib/cfndsl/aws/types.yaml +3 -2
- data/lib/cfndsl/version.rb +1 -1
- data/spec/aws/ec2_security_group_spec.rb +15 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fe5ecf312603e6eacae7bd4e17c6812e1a45e07
|
4
|
+
data.tar.gz: 2a55c346224233ce3ce3b9883e4badc215624ebe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f575f990182be9f70ceab3ad9648cfa29b286dcb667c6d5258154407185bf49c109e7a76c865f72ea5dbe431d54c7cf3a8de5522d99c4a59f028028c61b0966
|
7
|
+
data.tar.gz: 772d4a19607c4862ee26fb440d5355fc4e6f224fe6767e855a93b611cf7ffb065b9441bf9dad866a1a1979e04592b282457509c0246ca34b1ba8c6b09e40c8da
|
data/lib/cfndsl/aws/types.yaml
CHANGED
@@ -403,11 +403,12 @@ Resources:
|
|
403
403
|
Tags: [ ResourceTag ]
|
404
404
|
"AWS::EC2::SecurityGroup" :
|
405
405
|
Properties:
|
406
|
+
GroupName: String
|
406
407
|
GroupDescription: String
|
407
|
-
SecurityGroupIngress: [ EC2SecurityGroupRule ]
|
408
408
|
SecurityGroupEgress: [ EC2SecurityGroupRule ]
|
409
|
-
|
409
|
+
SecurityGroupIngress: [ EC2SecurityGroupRule ]
|
410
410
|
Tags : [ ResourceTag ]
|
411
|
+
VpcId: String
|
411
412
|
"AWS::EC2::SecurityGroupEgress" :
|
412
413
|
Properties:
|
413
414
|
GroupId: String
|
data/lib/cfndsl/version.rb
CHANGED
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe CfnDsl::CloudFormationTemplate do
|
4
|
+
subject(:template) { described_class.new }
|
5
|
+
|
6
|
+
describe '#EC2_SecurityGroup' do
|
7
|
+
it 'supports GroupName property' do
|
8
|
+
template.EC2_SecurityGroup(:Test) do
|
9
|
+
GroupName 'super-group'
|
10
|
+
end
|
11
|
+
|
12
|
+
expect(template.to_json).to include('"GroupName":"super-group"')
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cfndsl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Jack
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-05-
|
12
|
+
date: 2017-05-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -88,6 +88,7 @@ files:
|
|
88
88
|
- sample/t1.yaml
|
89
89
|
- sample/vpc_example.rb
|
90
90
|
- sample/vpc_with_vpn_example.rb
|
91
|
+
- spec/aws/ec2_security_group_spec.rb
|
91
92
|
- spec/aws/ecs_task_definition_spec.rb
|
92
93
|
- spec/aws/iam_managed_policy_spec.rb
|
93
94
|
- spec/aws/kms_alias_spec.rb
|
@@ -138,6 +139,7 @@ signing_key:
|
|
138
139
|
specification_version: 4
|
139
140
|
summary: AWS Cloudformation DSL
|
140
141
|
test_files:
|
142
|
+
- spec/aws/ec2_security_group_spec.rb
|
141
143
|
- spec/aws/ecs_task_definition_spec.rb
|
142
144
|
- spec/aws/iam_managed_policy_spec.rb
|
143
145
|
- spec/aws/kms_alias_spec.rb
|