cfndsl 0.12.9 → 0.12.10

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: 11d5ab2bcfb6f8dcfb5de3f304b7cad67b100c05
4
- data.tar.gz: 47eaccfe69b9e0517607a0ee3ac2816f29aeecae
3
+ metadata.gz: 7fe5ecf312603e6eacae7bd4e17c6812e1a45e07
4
+ data.tar.gz: 2a55c346224233ce3ce3b9883e4badc215624ebe
5
5
  SHA512:
6
- metadata.gz: 5b9e82615113a7dccdbe237d6a17db93415e127c7d82fb7ca6ebb9147bcad86b70d06b0132987e8e0f76004210904f451f2a0d39acd118f3e9aff486d4ba4c8a
7
- data.tar.gz: 00a189b363998a532b9524e68d1e957eefc89b87a191649facaab7c3d84d2f1a422f26ea529ad4869ca42410ddfe5fa71a6bf8f152112b7cb49b2d65e611e44e
6
+ metadata.gz: 4f575f990182be9f70ceab3ad9648cfa29b286dcb667c6d5258154407185bf49c109e7a76c865f72ea5dbe431d54c7cf3a8de5522d99c4a59f028028c61b0966
7
+ data.tar.gz: 772d4a19607c4862ee26fb440d5355fc4e6f224fe6767e855a93b611cf7ffb065b9441bf9dad866a1a1979e04592b282457509c0246ca34b1ba8c6b09e40c8da
@@ -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
- VpcId: String
409
+ SecurityGroupIngress: [ EC2SecurityGroupRule ]
410
410
  Tags : [ ResourceTag ]
411
+ VpcId: String
411
412
  "AWS::EC2::SecurityGroupEgress" :
412
413
  Properties:
413
414
  GroupId: String
@@ -1,3 +1,3 @@
1
1
  module CfnDsl
2
- VERSION = '0.12.9'.freeze
2
+ VERSION = '0.12.10'.freeze
3
3
  end
@@ -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.9
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-08 00:00:00.000000000 Z
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