cfndsl 0.17.4 → 0.17.5
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/CHANGELOG.md +34 -32
- data/cfndsl.gemspec +1 -1
- data/lib/cfndsl/patches.rb +24 -0
- data/lib/cfndsl/version.rb +1 -1
- data/spec/aws/nested_arrays_spec.rb +0 -1
- data/spec/spec_helper.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 56d40841f56346fda76c7dcde85f56dac170f079fdd9e1d3b28a8490156b5270
|
|
4
|
+
data.tar.gz: 0e3d020906e298b19a8ad0997aa5a212e95b562d0c03d28a985f805d6aa46af7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0be26c030a243009ed13706ffa296174b04241752e46e32b804a2ad81e6d4bcf096a9903f4115f083228493f7a99acf55af7377fa1c1fe127298e894d7e4b752
|
|
7
|
+
data.tar.gz: 8a420860e7ea49557a9b69ee15f132c4ebfcebd5d67eb8651d825fb9be49670f8bf7bb1311d40ba640b5c6ebca30612662b94ab48abcde487ffd9bbdfc23ee44
|
data/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,36 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## [0.17.
|
|
4
|
-
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/
|
|
3
|
+
## [0.17.5](https://github.com/cfndsl/cfndsl/tree/0.17.5) (2019-12-27)
|
|
4
|
+
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v1.0.0.pre.1...0.17.5)
|
|
5
|
+
|
|
6
|
+
**Fixed bugs:**
|
|
7
|
+
|
|
8
|
+
- VPCZoneIdentifier is always an array - 1.0.0.pre [\#428](https://github.com/cfndsl/cfndsl/issues/428)
|
|
9
|
+
|
|
10
|
+
**Closed issues:**
|
|
11
|
+
|
|
12
|
+
- Where should we define custom helper methods? [\#433](https://github.com/cfndsl/cfndsl/issues/433)
|
|
13
|
+
- undefined method `EC2\_LaunchTemplate' for \#\<CfnDsl::CloudFormationTemplate:...\> \(NoMethodError\) [\#431](https://github.com/cfndsl/cfndsl/issues/431)
|
|
14
|
+
- cfndsl fails with "uninitialized constant CfnDsl::AWS::Types::AWSWAFv2IPSetTag \(NameError\)" [\#430](https://github.com/cfndsl/cfndsl/issues/430)
|
|
15
|
+
|
|
16
|
+
**Merged pull requests:**
|
|
17
|
+
|
|
18
|
+
- add tag types to new WAFv2, as AWS are not explicitly defining them in the spec [\#435](https://github.com/cfndsl/cfndsl/pull/435) ([gergnz](https://github.com/gergnz))
|
|
19
|
+
|
|
20
|
+
## [v1.0.0.pre.1](https://github.com/cfndsl/cfndsl/tree/v1.0.0.pre.1) (2019-10-27)
|
|
21
|
+
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v1.0.0.pre.2...v1.0.0.pre.1)
|
|
22
|
+
|
|
23
|
+
## [v1.0.0.pre.2](https://github.com/cfndsl/cfndsl/tree/v1.0.0.pre.2) (2019-10-27)
|
|
24
|
+
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.17.4...v1.0.0.pre.2)
|
|
25
|
+
|
|
26
|
+
**Merged pull requests:**
|
|
27
|
+
|
|
28
|
+
- 1.0.0 pre rake and spec [\#427](https://github.com/cfndsl/cfndsl/pull/427) ([lwoggardner](https://github.com/lwoggardner))
|
|
29
|
+
- 1.0.0.pre merge fix403 [\#426](https://github.com/cfndsl/cfndsl/pull/426) ([lwoggardner](https://github.com/lwoggardner))
|
|
30
|
+
- 1.0.0.pre merge with master [\#425](https://github.com/cfndsl/cfndsl/pull/425) ([lwoggardner](https://github.com/lwoggardner))
|
|
31
|
+
|
|
32
|
+
## [v0.17.4](https://github.com/cfndsl/cfndsl/tree/v0.17.4) (2019-10-06)
|
|
33
|
+
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.17.3...v0.17.4)
|
|
5
34
|
|
|
6
35
|
**Closed issues:**
|
|
7
36
|
|
|
@@ -103,7 +132,7 @@
|
|
|
103
132
|
- handle simple resource types [\#397](https://github.com/cfndsl/cfndsl/pull/397) ([gergnz](https://github.com/gergnz))
|
|
104
133
|
|
|
105
134
|
## [v0.16.10](https://github.com/cfndsl/cfndsl/tree/v0.16.10) (2019-02-13)
|
|
106
|
-
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/
|
|
135
|
+
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.16.9...v0.16.10)
|
|
107
136
|
|
|
108
137
|
**Implemented enhancements:**
|
|
109
138
|
|
|
@@ -113,53 +142,26 @@
|
|
|
113
142
|
|
|
114
143
|
- confirm we are using gzip download of cloudfomration specification. [\#394](https://github.com/cfndsl/cfndsl/issues/394)
|
|
115
144
|
- support a version for cfndsl -u [\#393](https://github.com/cfndsl/cfndsl/issues/393)
|
|
116
|
-
|
|
117
|
-
## [v1.0.0.pre](https://github.com/cfndsl/cfndsl/tree/v1.0.0.pre) (2019-01-19)
|
|
118
|
-
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.17.pre.6...v1.0.0.pre)
|
|
119
|
-
|
|
120
|
-
**Closed issues:**
|
|
121
|
-
|
|
122
145
|
- 'require': cannot load such file -- hana \(0.17.pre.5\) [\#387](https://github.com/cfndsl/cfndsl/issues/387)
|
|
123
146
|
|
|
124
|
-
## [v0.17.pre.6](https://github.com/cfndsl/cfndsl/tree/v0.17.pre.6) (2018-12-10)
|
|
125
|
-
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.17.pre.5...v0.17.pre.6)
|
|
126
|
-
|
|
127
|
-
## [v0.17.pre.5](https://github.com/cfndsl/cfndsl/tree/v0.17.pre.5) (2018-12-09)
|
|
128
|
-
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.17.pre.4...v0.17.pre.5)
|
|
129
|
-
|
|
130
|
-
## [v0.17.pre.4](https://github.com/cfndsl/cfndsl/tree/v0.17.pre.4) (2018-12-09)
|
|
131
|
-
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.17.pre.3...v0.17.pre.4)
|
|
132
|
-
|
|
133
|
-
## [v0.17.pre.3](https://github.com/cfndsl/cfndsl/tree/v0.17.pre.3) (2018-12-09)
|
|
134
|
-
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.17.pre.2...v0.17.pre.3)
|
|
135
|
-
|
|
136
147
|
**Merged pull requests:**
|
|
137
148
|
|
|
138
149
|
- implement json patch for patches and pull in patches from CDK [\#386](https://github.com/cfndsl/cfndsl/pull/386) ([gergnz](https://github.com/gergnz))
|
|
139
150
|
|
|
140
|
-
## [v0.17.pre.2](https://github.com/cfndsl/cfndsl/tree/v0.17.pre.2) (2018-12-09)
|
|
141
|
-
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.16.9...v0.17.pre.2)
|
|
142
|
-
|
|
143
151
|
## [v0.16.9](https://github.com/cfndsl/cfndsl/tree/v0.16.9) (2018-12-07)
|
|
144
|
-
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.
|
|
152
|
+
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.16.8...v0.16.9)
|
|
145
153
|
|
|
146
154
|
**Closed issues:**
|
|
147
155
|
|
|
148
156
|
- uninitialized constant CfnDsl::AWS::Types::Map [\#382](https://github.com/cfndsl/cfndsl/issues/382)
|
|
149
157
|
- Can't get -D option to work [\#360](https://github.com/cfndsl/cfndsl/issues/360)
|
|
158
|
+
- rubocop 0.50.0 errors [\#347](https://github.com/cfndsl/cfndsl/issues/347)
|
|
150
159
|
- CFN schema [\#264](https://github.com/cfndsl/cfndsl/issues/264)
|
|
151
160
|
|
|
152
161
|
**Merged pull requests:**
|
|
153
162
|
|
|
154
163
|
- fix \#382, add Map primitive type [\#383](https://github.com/cfndsl/cfndsl/pull/383) ([gergnz](https://github.com/gergnz))
|
|
155
164
|
|
|
156
|
-
## [v0.17-pre](https://github.com/cfndsl/cfndsl/tree/v0.17-pre) (2018-12-03)
|
|
157
|
-
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.16.8...v0.17-pre)
|
|
158
|
-
|
|
159
|
-
**Closed issues:**
|
|
160
|
-
|
|
161
|
-
- rubocop 0.50.0 errors [\#347](https://github.com/cfndsl/cfndsl/issues/347)
|
|
162
|
-
|
|
163
165
|
## [v0.16.8](https://github.com/cfndsl/cfndsl/tree/v0.16.8) (2018-11-21)
|
|
164
166
|
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.16.7...v0.16.8)
|
|
165
167
|
|
data/cfndsl.gemspec
CHANGED
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
|
|
|
20
20
|
|
|
21
21
|
s.executables << 'cfndsl'
|
|
22
22
|
|
|
23
|
-
s.add_development_dependency 'bundler', '~> 1
|
|
23
|
+
s.add_development_dependency 'bundler', '~> 2.1'
|
|
24
24
|
|
|
25
25
|
s.post_install_message = "'addTag' is now deprecated in favour of 'add_tag'. 'addTag' will be removed in the next major version."
|
|
26
26
|
end
|
data/lib/cfndsl/patches.rb
CHANGED
|
@@ -126,6 +126,30 @@ module CfnDsl
|
|
|
126
126
|
# rubocop:disable Metrics/MethodLength
|
|
127
127
|
def self.types
|
|
128
128
|
{
|
|
129
|
+
'AWS::WAFv2::IPSet.Tag' => {
|
|
130
|
+
'Properties' => {
|
|
131
|
+
'Value' => { 'PrimitiveType' => 'String' },
|
|
132
|
+
'Key' => { 'PrimitiveType' => 'String' }
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
'AWS::WAFv2::RegexPatternSet.Tag' => {
|
|
136
|
+
'Properties' => {
|
|
137
|
+
'Value' => { 'PrimitiveType' => 'String' },
|
|
138
|
+
'Key' => { 'PrimitiveType' => 'String' }
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
'AWS::WAFv2::RuleGroup.Tag' => {
|
|
142
|
+
'Properties' => {
|
|
143
|
+
'Value' => { 'PrimitiveType' => 'String' },
|
|
144
|
+
'Key' => { 'PrimitiveType' => 'String' }
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
'AWS::WAFv2::WebACL.Tag' => {
|
|
148
|
+
'Properties' => {
|
|
149
|
+
'Value' => { 'PrimitiveType' => 'String' },
|
|
150
|
+
'Key' => { 'PrimitiveType' => 'String' }
|
|
151
|
+
}
|
|
152
|
+
},
|
|
129
153
|
'AWS::EC2::LaunchTemplate.Tag' => {
|
|
130
154
|
'Properties' => {
|
|
131
155
|
'Value' => { 'PrimitiveType' => 'String' },
|
data/lib/cfndsl/version.rb
CHANGED
|
@@ -13,7 +13,6 @@ describe CfnDsl::CloudFormationTemplate do
|
|
|
13
13
|
end
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
-
puts template.to_json
|
|
17
16
|
expect(template.to_json).to include('"SubnetIds":["subnet-a","subnet-b"]}')
|
|
18
17
|
expect(template.to_json).not_to include('"SubnetIds":[["subnet-a","subnet-b"],["subnet-a","subnet-b"]]')
|
|
19
18
|
end
|
data/spec/spec_helper.rb
CHANGED
|
@@ -20,4 +20,4 @@ require 'cfnlego'
|
|
|
20
20
|
bindir = File.expand_path('../bin', __dir__)
|
|
21
21
|
ENV['PATH'] = [ENV['PATH'], bindir].join(':')
|
|
22
22
|
|
|
23
|
-
Dir[File.expand_path('support/**/*.rb', __dir__)].each { |f| require f }
|
|
23
|
+
Dir[File.expand_path('support/**/*.rb', __dir__)].sort.each { |f| require f }
|
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.
|
|
4
|
+
version: 0.17.5
|
|
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-
|
|
14
|
+
date: 2019-12-27 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: bundler
|
|
@@ -19,14 +19,14 @@ dependencies:
|
|
|
19
19
|
requirements:
|
|
20
20
|
- - "~>"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: '1
|
|
22
|
+
version: '2.1'
|
|
23
23
|
type: :development
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
26
26
|
requirements:
|
|
27
27
|
- - "~>"
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: '1
|
|
29
|
+
version: '2.1'
|
|
30
30
|
description: DSL for creating AWS Cloudformation templates
|
|
31
31
|
email:
|
|
32
32
|
- stevenmajack@gmail.com
|