cfndsl 0.16.3 → 0.16.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 +10 -2
- data/lib/cfndsl/patches.rb +57 -15
- 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: b2df6ce4cd8345b6b98c522f4862fe29a3c725274e5032d9df0bb151f8094880
|
|
4
|
+
data.tar.gz: 50ec4a16897869a33322e936ed1ecd28b30399898669530d6718f5bb10f086bf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 315f3fda2e9a1bf5c88ee7f9077640728b6a6172354bdc2e6e38776408990ab55b56b3f5c576f01300ef137b582fe37e45ddbdbc013eb784d1585f7fdbea1ace
|
|
7
|
+
data.tar.gz: ed0f7aedd0c7bcc64879a6ea0fa28d4682f6e137118572aed6a8a6fcf308953c9e0a1028211d12ef39ce89249b07b94f8e3df999898478019466d4c226a30ebc
|
data/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## [
|
|
4
|
-
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.16.
|
|
3
|
+
## [v0.16.4](https://github.com/cfndsl/cfndsl/tree/v0.16.4) (2018-04-16)
|
|
4
|
+
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.16.3...v0.16.4)
|
|
5
|
+
|
|
6
|
+
**Merged pull requests:**
|
|
7
|
+
|
|
8
|
+
- add a temporary fix for \#370 [\#371](https://github.com/cfndsl/cfndsl/pull/371) ([gergnz](https://github.com/gergnz))
|
|
9
|
+
- update SAM for latest details [\#366](https://github.com/cfndsl/cfndsl/pull/366) ([gergnz](https://github.com/gergnz))
|
|
10
|
+
|
|
11
|
+
## [v0.16.3](https://github.com/cfndsl/cfndsl/tree/v0.16.3) (2018-03-19)
|
|
12
|
+
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.16.2...v0.16.3)
|
|
5
13
|
|
|
6
14
|
**Closed issues:**
|
|
7
15
|
|
data/lib/cfndsl/patches.rb
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
module CfnDsl
|
|
2
2
|
# Module for handling inconsistencies in the published resource specification from AWS
|
|
3
|
+
# rubocop:disable Metrics/ModuleLength
|
|
3
4
|
module Patches
|
|
4
5
|
# Missing/malformed resources from the resource specification
|
|
5
6
|
# rubocop:disable Metrics/MethodLength
|
|
@@ -7,30 +8,48 @@ module CfnDsl
|
|
|
7
8
|
{
|
|
8
9
|
'AWS::Serverless::Function' => {
|
|
9
10
|
'Properties' => {
|
|
10
|
-
'Handler'
|
|
11
|
-
'Runtime'
|
|
12
|
-
'CodeUri'
|
|
13
|
-
'
|
|
14
|
-
'
|
|
15
|
-
'
|
|
16
|
-
'
|
|
17
|
-
'
|
|
18
|
-
'Policies'
|
|
11
|
+
'Handler' => { 'PrimitiveType' => 'String' },
|
|
12
|
+
'Runtime' => { 'PrimitiveType' => 'String' },
|
|
13
|
+
'CodeUri' => { 'PrimitiveType' => 'String' },
|
|
14
|
+
'FunctionName' => { 'PrimitiveType' => 'String' },
|
|
15
|
+
'Description' => { 'PrimitiveType' => 'String' },
|
|
16
|
+
'MemorySize' => { 'PrimitiveType' => 'Integer' },
|
|
17
|
+
'Timeout' => { 'PrimitiveType' => 'Integer' },
|
|
18
|
+
'Role' => { 'PrimitiveType' => 'String' },
|
|
19
|
+
'Policies' => { 'Type' => 'List', 'ItemType' => 'Policy' },
|
|
20
|
+
'Environment' => { 'PrimitiveType' => 'Json' },
|
|
21
|
+
'VpcConfig' => { 'Type' => 'VpcConfig' },
|
|
22
|
+
'Events' => { 'PrimitiveType' => 'Json' },
|
|
23
|
+
'Tags' => { 'PrimitiveType' => 'Json' },
|
|
24
|
+
'Tracing' => { 'PrimitiveType' => 'String' },
|
|
25
|
+
'KmsKeyArn' => { 'PrimitiveType' => 'String' },
|
|
26
|
+
'DeadLetterQueue' => { 'PrimitiveType' => 'Json' },
|
|
27
|
+
'DeploymentPreference' => { 'Type' => 'DeploymentPreference' },
|
|
28
|
+
'AutoPublishAlias' => { 'PrimitiveType' => 'String' },
|
|
29
|
+
'ReservedConcurrentExecutions' => { 'PrimitiveType' => 'Integer' }
|
|
19
30
|
}
|
|
20
31
|
},
|
|
21
32
|
'AWS::Serverless::Api' => {
|
|
22
33
|
'Properties' => {
|
|
23
|
-
'
|
|
24
|
-
'
|
|
25
|
-
'
|
|
26
|
-
'
|
|
27
|
-
'
|
|
34
|
+
'Name' => { 'PrimitiveType' => 'String' },
|
|
35
|
+
'StageName' => { 'PrimitiveType' => 'String' },
|
|
36
|
+
'DefinitionUri' => { 'PrimitiveType' => 'String' },
|
|
37
|
+
'DefinitionBody' => { 'PrimitiveType' => 'Json' },
|
|
38
|
+
'CacheClusterEnabled' => { 'PrimitiveType' => 'Boolean' },
|
|
39
|
+
'CacheClusterSize' => { 'PrimitiveType' => 'String' },
|
|
40
|
+
'Variables' => { 'PrimitiveType' => 'Json' },
|
|
41
|
+
'MethodSettings' => { 'PrimitiveType' => 'Json' },
|
|
42
|
+
'EndpointConfiguration' => { 'PrimitiveType' => 'String' },
|
|
43
|
+
'BinaryMediaTypes' => { 'Type' => 'List', 'PrimitiveType' => 'String' },
|
|
44
|
+
'Cors' => { 'PrimitiveType' => 'String' }
|
|
28
45
|
}
|
|
29
46
|
},
|
|
30
47
|
'AWS::Serverless::SimpleTable' => {
|
|
31
48
|
'Properties' => {
|
|
32
49
|
'PrimaryKey' => { 'Type' => 'PrimaryKey' },
|
|
33
|
-
'ProvisionedThroughput' => { 'Type' => 'ProvisionedThroughput' }
|
|
50
|
+
'ProvisionedThroughput' => { 'Type' => 'ProvisionedThroughput' },
|
|
51
|
+
'Tags' => { 'PrimitiveType' => 'Json' },
|
|
52
|
+
'TableName' => { 'PrimitiveType' => 'String' }
|
|
34
53
|
}
|
|
35
54
|
},
|
|
36
55
|
'AWS::SSM::Parameter' => {
|
|
@@ -46,8 +65,15 @@ module CfnDsl
|
|
|
46
65
|
# rubocop:enable Metrics/MethodLength
|
|
47
66
|
|
|
48
67
|
# Missing/malformed types from the resource specification
|
|
68
|
+
# rubocop:disable Metrics/MethodLength
|
|
49
69
|
def self.types
|
|
50
70
|
{
|
|
71
|
+
'AWS::EC2::LaunchTemplate.Tag' => {
|
|
72
|
+
'Properties' => {
|
|
73
|
+
'Value' => { 'PrimitiveType' => 'String' },
|
|
74
|
+
'Key' => { 'PrimitiveType' => 'String' }
|
|
75
|
+
}
|
|
76
|
+
},
|
|
51
77
|
'AWS::Serverless::SimpleTable.PrimaryKey' => {
|
|
52
78
|
'Properties' => {
|
|
53
79
|
'Name' => { 'PrimitiveType' => 'String' },
|
|
@@ -65,8 +91,24 @@ module CfnDsl
|
|
|
65
91
|
'PolicyDocument' => { 'PrimitiveType' => 'Json' },
|
|
66
92
|
'PolicyName' => { 'PrimitiveType' => 'String' }
|
|
67
93
|
}
|
|
94
|
+
},
|
|
95
|
+
'AWS::Serverless::Function.VpcConfig' => {
|
|
96
|
+
'Properties' => {
|
|
97
|
+
'SecurityGroupIds' => { 'Type' => 'List', 'PrimitiveType' => 'String' },
|
|
98
|
+
'SubnetIds' => { 'Type' => 'List', 'PrimitiveType' => 'String' }
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
'AWS::Serverless::Function.DeploymentPreference' => {
|
|
102
|
+
'Properties' => {
|
|
103
|
+
'Enabled' => { 'PrimitiveType' => 'Boolean' },
|
|
104
|
+
'Type' => { 'PrimitiveType' => 'String' },
|
|
105
|
+
'Alarms' => { 'Type' => 'List', 'PrimitiveType' => 'String' },
|
|
106
|
+
'Hooks' => { 'Type' => 'List', 'PrimitiveType' => 'String' }
|
|
107
|
+
}
|
|
68
108
|
}
|
|
69
109
|
}
|
|
70
110
|
end
|
|
111
|
+
# rubocop:enable Metrics/MethodLength
|
|
71
112
|
end
|
|
113
|
+
# rubocop:enable Metrics/ModuleLength
|
|
72
114
|
end
|
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.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: 2018-
|
|
14
|
+
date: 2018-04-16 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: bundler
|