cfndsl 0.16.11 → 0.16.12
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 +20 -2
- data/README.md +8 -0
- data/lib/cfndsl/patches.rb +24 -0
- data/lib/cfndsl/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7d93cab5f9206f306505ff0cea1123e1c58e3d7513c6aead593bfb4a65c9dfdf
|
|
4
|
+
data.tar.gz: 6708932037324d043c6440daac0f1d6925fe7165f041143fcd26d026d05625ea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e98c3f6ddc83d8822e6134f800f3eeb06b454bb105d6d8629ad69e01f2d9f7de11332c0b30a503b6f7d62a35e37f0466c52b3083b1a846dad39546f035a297d7
|
|
7
|
+
data.tar.gz: 44480544c052ecdd34ee0d007598aa78020af48f2b26afad98cfdd8700c373a29af0fe9af96178dbf9d76598d6835995978e3c53ee99190c1dc9f084a067dd60
|
data/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,25 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## [0.16.
|
|
4
|
-
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.16.
|
|
3
|
+
## [0.16.12](https://github.com/cfndsl/cfndsl/tree/0.16.12) (2019-02-25)
|
|
4
|
+
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.16.11...0.16.12)
|
|
5
|
+
|
|
6
|
+
**Closed issues:**
|
|
7
|
+
|
|
8
|
+
- Metrics is missing from AWS::CloudWatch::Alarm [\#401](https://github.com/cfndsl/cfndsl/issues/401)
|
|
9
|
+
- "Update specification" instructions could be more clear [\#374](https://github.com/cfndsl/cfndsl/issues/374)
|
|
10
|
+
- 2.0.0 of the AWS Cloudformation Specification breaks cfndsl [\#370](https://github.com/cfndsl/cfndsl/issues/370)
|
|
11
|
+
|
|
12
|
+
**Merged pull requests:**
|
|
13
|
+
|
|
14
|
+
- add Cloudwatch Alarm, as it's missing Metrics, Fixes \#401 [\#402](https://github.com/cfndsl/cfndsl/pull/402) ([gergnz](https://github.com/gergnz))
|
|
15
|
+
- add instructions at the top of the readme on how to update the spec [\#400](https://github.com/cfndsl/cfndsl/pull/400) ([gergnz](https://github.com/gergnz))
|
|
16
|
+
|
|
17
|
+
## [v0.16.11](https://github.com/cfndsl/cfndsl/tree/v0.16.11) (2019-02-22)
|
|
18
|
+
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.16.10...v0.16.11)
|
|
19
|
+
|
|
20
|
+
**Closed issues:**
|
|
21
|
+
|
|
22
|
+
- cfndsl 0.16 EC2\_VPCEndpoint VpcEndpointType is VPCEndpointType in CloudFormation Specification [\#398](https://github.com/cfndsl/cfndsl/issues/398)
|
|
5
23
|
|
|
6
24
|
**Merged pull requests:**
|
|
7
25
|
|
data/README.md
CHANGED
|
@@ -28,6 +28,14 @@ ruby version > 2.1.0 is required to run cfndsl
|
|
|
28
28
|
|
|
29
29
|
sudo gem install cfndsl
|
|
30
30
|
|
|
31
|
+
Update the the cloudformation specification to the latest version.
|
|
32
|
+
|
|
33
|
+
cfndsl -u
|
|
34
|
+
|
|
35
|
+
or update to a specific version
|
|
36
|
+
|
|
37
|
+
cfndsl -u 2.21.0
|
|
38
|
+
|
|
31
39
|
Now write a template in the dsl
|
|
32
40
|
|
|
33
41
|
```ruby
|
data/lib/cfndsl/patches.rb
CHANGED
|
@@ -18,6 +18,30 @@ module CfnDsl
|
|
|
18
18
|
'VpcId' => { 'PrimitiveType' => 'String' }
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
|
+
'AWS::CloudWatch::Alarm' => {
|
|
22
|
+
'Properties' => {
|
|
23
|
+
'ActionsEnabled' => { 'PrimitiveType' => 'Boolean' },
|
|
24
|
+
'AlarmActions' => { 'Type' => 'List', 'PrimitiveType' => 'String' },
|
|
25
|
+
'AlarmDescription' => { 'PrimitiveType' => 'String' },
|
|
26
|
+
'AlarmName' => { 'PrimitiveType' => 'String' },
|
|
27
|
+
'ComparisonOperator' => { 'PrimitiveType' => 'String' },
|
|
28
|
+
'DatapointsToAlarm' => { 'PrimitiveType' => 'Integer' },
|
|
29
|
+
'Dimensions' => { 'Type' => 'List', 'ItemType' => 'Dimension' },
|
|
30
|
+
'EvaluateLowSampleCountPercentile' => { 'PrimitiveType' => 'String' },
|
|
31
|
+
'EvaluationPeriods' => { 'PrimitiveType' => 'Integer' },
|
|
32
|
+
'ExtendedStatistic' => { 'PrimitiveType' => 'String' },
|
|
33
|
+
'InsufficientDataActions' => { 'Type' => 'List', 'PrimitiveType' => 'String' },
|
|
34
|
+
'Metrics' => { 'Type' => 'List', 'PrimitiveType' => 'Json' },
|
|
35
|
+
'MetricName' => { 'PrimitiveType' => 'String' },
|
|
36
|
+
'Namespace' => { 'PrimitiveType' => 'String' },
|
|
37
|
+
'OKActions' => { 'Type' => 'List', 'PrimitiveType' => 'String' },
|
|
38
|
+
'Period' => { 'PrimitiveType' => 'Integer' },
|
|
39
|
+
'Statistic' => { 'PrimitiveType' => 'String' },
|
|
40
|
+
'Threshold' => { 'PrimitiveType' => 'Double' },
|
|
41
|
+
'TreatMissingData' => { 'PrimitiveType' => 'String' },
|
|
42
|
+
'Unit' => { 'PrimitiveType' => 'String' }
|
|
43
|
+
}
|
|
44
|
+
},
|
|
21
45
|
'AWS::Serverless::Function' => {
|
|
22
46
|
'Properties' => {
|
|
23
47
|
'Handler' => { 'PrimitiveType' => 'String' },
|
data/lib/cfndsl/version.rb
CHANGED
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.16.
|
|
4
|
+
version: 0.16.12
|
|
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-02-
|
|
14
|
+
date: 2019-02-24 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: bundler
|