cfndsl 0.17.0 → 0.17.1

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
  SHA256:
3
- metadata.gz: 1a5775bb9e498105174a3304e86d6d7d356d68dfbfe7754d2746a9aa40be003b
4
- data.tar.gz: e8728173d33d41f4759bdf8627e25b3173273490b0e959687e3b44af1fd1bd1e
3
+ metadata.gz: d9249a9d31e7834cc88e725fefd07df25c4a4a59dfcb8c9a5e68924fa19443bb
4
+ data.tar.gz: c74e4fbd7a36fbdf7e09a1aa10b6e327e6656b999b920537045d6717ae176108
5
5
  SHA512:
6
- metadata.gz: 0e3a197bd97878c4eba85d5f53892c9f2b0be90e61a8c5dc2e99d4ec4ae77edd83b4cff1c993d955064ae59eb2fb8779ed9f8d5782dc662ddde53be8f421e44c
7
- data.tar.gz: 42fc049052509fb1dfffe9c0e1acf477c72a4980ade6baf30ac22a25e17384557533a2a684dd2c2f9cfeddc2111daaa9ed46dc5c1126179d1d99f8cf5bbb98c1
6
+ metadata.gz: e169d2badcba3d0ed23f38111ad0d4ffb44a0672c686ee3929fef8bfbda3305e38f920cfccda851e2ddaa3c35f3343cc2ef725ccd98e286d5cb5ed511c35d0db
7
+ data.tar.gz: 90391665c122cb7c9d8d79243af6cc4ca17303b701b095149a06cf93d91e0271282a820417db46418b714c78c109705314cae89d6172e7ba151c0209c219f63a
@@ -1,7 +1,22 @@
1
1
  # Change Log
2
2
 
3
- ## [0.17.0](https://github.com/cfndsl/cfndsl/tree/0.17.0) (2019-06-16)
4
- [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.16.13...0.17.0)
3
+ ## [0.17.1](https://github.com/cfndsl/cfndsl/tree/0.17.1) (2019-09-02)
4
+ [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.17.0...0.17.1)
5
+
6
+ **Fixed bugs:**
7
+
8
+ - fix for rubocop 0.74 [\#415](https://github.com/cfndsl/cfndsl/pull/415) ([gergnz](https://github.com/gergnz))
9
+
10
+ **Closed issues:**
11
+
12
+ - Condition Statement removing duplicates & causing issues [\#231](https://github.com/cfndsl/cfndsl/issues/231)
13
+
14
+ **Merged pull requests:**
15
+
16
+ - Patch to support Tags on AWS::IAM::Role and AWS::Serverless::Function, add support for AWS::Serverless::Application [\#413](https://github.com/cfndsl/cfndsl/pull/413) ([cmaxwellau](https://github.com/cmaxwellau))
17
+
18
+ ## [v0.17.0](https://github.com/cfndsl/cfndsl/tree/v0.17.0) (2019-06-16)
19
+ [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.16.13...v0.17.0)
5
20
 
6
21
  **Closed issues:**
7
22
 
@@ -444,7 +459,7 @@
444
459
 
445
460
  **Merged pull requests:**
446
461
 
447
- - Add Autoscaling NotificationConfiguration [\#275](https://github.com/cfndsl/cfndsl/pull/275) ([danielbergamin](https://github.com/danielbergamin))
462
+ - Add Autoscaling NotificationConfiguration [\#275](https://github.com/cfndsl/cfndsl/pull/275) ([dbergamin](https://github.com/dbergamin))
448
463
 
449
464
  ## [v0.11.9](https://github.com/cfndsl/cfndsl/tree/v0.11.9) (2016-11-18)
450
465
  [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.11.8...v0.11.9)
@@ -46,6 +46,7 @@ module CfnDsl
46
46
  },
47
47
  'AWS::Serverless::Function' => {
48
48
  'Properties' => {
49
+ 'Tags' => { 'PrimitiveType' => 'Json', 'ItemType' => 'String' },
49
50
  'Handler' => { 'PrimitiveType' => 'String' },
50
51
  'Runtime' => { 'PrimitiveType' => 'String' },
51
52
  'CodeUri' => { 'PrimitiveType' => 'String' },
@@ -59,7 +60,6 @@ module CfnDsl
59
60
  'Environment' => { 'PrimitiveType' => 'Json' },
60
61
  'VpcConfig' => { 'Type' => 'VpcConfig' },
61
62
  'Events' => { 'PrimitiveType' => 'Json' },
62
- 'Tags' => { 'PrimitiveType' => 'Json' },
63
63
  'Tracing' => { 'PrimitiveType' => 'String' },
64
64
  'KmsKeyArn' => { 'PrimitiveType' => 'String' },
65
65
  'DeadLetterQueue' => { 'PrimitiveType' => 'Json' },
@@ -68,6 +68,16 @@ module CfnDsl
68
68
  'ReservedConcurrentExecutions' => { 'PrimitiveType' => 'Integer' }
69
69
  }
70
70
  },
71
+ 'AWS::IAM::Role' => {
72
+ 'Properties' => {
73
+ 'Tags' => { 'ItemType' => 'Tag', 'Type' => 'List' },
74
+ 'AssumeRolePolicyDocument' => { 'PrimitiveType' => 'Json' },
75
+ 'ManagedPolicyArns' => { 'PrimitiveItemType' => 'String', 'Type' => 'List' },
76
+ 'Path' => { 'PrimitiveType' => 'String' },
77
+ 'Policies' => { 'ItemType' => 'Policy', 'Type' => 'List' },
78
+ 'RoleName' => { 'PrimitiveType' => 'String' }
79
+ }
80
+ },
71
81
  'AWS::Serverless::Api' => {
72
82
  'Properties' => {
73
83
  'Name' => { 'PrimitiveType' => 'String' },
@@ -87,10 +97,19 @@ module CfnDsl
87
97
  'Properties' => {
88
98
  'PrimaryKey' => { 'Type' => 'PrimaryKey' },
89
99
  'ProvisionedThroughput' => { 'Type' => 'ProvisionedThroughput' },
90
- 'Tags' => { 'PrimitiveType' => 'Json' },
100
+ 'Tags' => { 'PrimitiveType' => 'Json', 'ItemType' => 'String' },
91
101
  'TableName' => { 'PrimitiveType' => 'String' }
92
102
  }
93
103
  },
104
+ 'AWS::Serverless::Application' => {
105
+ 'Properties' => {
106
+ 'Location' => { 'PrimitiveType' => 'String' },
107
+ 'Parameters' => { 'PrimitiveType' => 'Json', 'ItemType' => 'String' },
108
+ 'NotificationARNs' => { 'PrimitiveType' => 'String' },
109
+ 'Tags' => { 'PrimitiveType' => 'Json', 'ItemType' => 'String' },
110
+ 'TimeoutInMinutes' => { 'PrimitiveType' => 'Integer' }
111
+ }
112
+ },
94
113
  'AWS::SSM::Parameter' => {
95
114
  'Properties' => {
96
115
  'Name' => { 'PrimitiveType' => 'String' },
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CfnDsl
4
- VERSION = '0.17.0'
4
+ VERSION = '0.17.1'
5
5
  end
@@ -9,7 +9,7 @@ describe CfnDsl::CloudFormationTemplate do
9
9
  it 'ensure nested arrays are not duplicated' do
10
10
  template.DirectoryService_SimpleAD(:Test) do
11
11
  VpcSettings do
12
- SubnetId ['subnet-a', 'subnet-b']
12
+ SubnetId %w[subnet-a subnet-b]
13
13
  end
14
14
  end
15
15
 
@@ -32,8 +32,8 @@ describe CfnDsl::CloudFormationTemplate do
32
32
  it 'check multiple invocation with arrays works' do
33
33
  template.DirectoryService_SimpleAD(:Test) do
34
34
  VpcSettings do
35
- SubnetId ['subnet-a', 'subnet-b']
36
- SubnetId ['subnet-c', 'subnet-d']
35
+ SubnetId %w[subnet-a subnet-b]
36
+ SubnetId %w[subnet-c subnet-d]
37
37
  end
38
38
  end
39
39
 
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.17.0
4
+ version: 0.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Jack
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2019-06-16 00:00:00.000000000 Z
14
+ date: 2019-09-01 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler
@@ -150,7 +150,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  - !ruby/object:Gem::Version
151
151
  version: '0'
152
152
  requirements: []
153
- rubygems_version: 3.0.4
153
+ rubyforge_project:
154
+ rubygems_version: 2.7.7
154
155
  signing_key:
155
156
  specification_version: 4
156
157
  summary: AWS Cloudformation DSL