cfndsl 1.4.0 → 1.5.0
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/.github/workflows/spec.yml +1 -1
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +10 -2
- data/README.md +1 -1
- data/Rakefile +1 -1
- data/cfndsl.gemspec +1 -1
- data/lib/cfndsl/aws/patches/901_SageMakerTags_patch.json +1 -0
- data/lib/cfndsl/aws/resource_specification.json +38964 -24642
- data/lib/cfndsl/module.rb +1 -1
- data/lib/cfndsl/types.rb +2 -3
- data/lib/cfndsl/version.rb +1 -1
- data/spec/generate_spec.rb +7 -5
- metadata +4 -4
data/lib/cfndsl/module.rb
CHANGED
data/lib/cfndsl/types.rb
CHANGED
@@ -112,8 +112,7 @@ module CfnDsl
|
|
112
112
|
elsif nested_prop_info['Type']
|
113
113
|
root_resource_name + nested_prop_info['Type']
|
114
114
|
else
|
115
|
-
warn "could not extract property type for #{nested_prop_name} from #{property_name}, assuming Json"
|
116
|
-
p nested_prop_info
|
115
|
+
warn "could not extract property type for #{nested_prop_name} from #{property_name}, assuming Json\n#{nested_prop_info}"
|
117
116
|
'Json'
|
118
117
|
end
|
119
118
|
extracted[nested_prop_name] = nested_prop_type
|
@@ -275,7 +274,7 @@ module CfnDsl
|
|
275
274
|
existing.push v
|
276
275
|
end
|
277
276
|
end
|
278
|
-
|
277
|
+
existing
|
279
278
|
end
|
280
279
|
end
|
281
280
|
end
|
data/lib/cfndsl/version.rb
CHANGED
data/spec/generate_spec.rb
CHANGED
@@ -8,11 +8,13 @@ describe Cfnlego do
|
|
8
8
|
context '#Export' do
|
9
9
|
it 'formats correctly' do
|
10
10
|
output = "require 'cfndsl'\nCloudFormation do\n Description 'auto generated cloudformation cfndsl template'\n\n "
|
11
|
-
output << " EC2_EIP('EIP') do
|
12
|
-
output <<
|
13
|
-
output << "\n
|
14
|
-
output << "\n
|
15
|
-
output << "\n
|
11
|
+
output << " EC2_EIP('EIP') do"
|
12
|
+
output << "\n InstanceId String # http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html#cfn-ec2-eip-instanceid"
|
13
|
+
output << "\n PublicIpv4Pool String # http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html#cfn-ec2-eip-publicipv4pool"
|
14
|
+
output << "\n TransferAddress String # http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html#cfn-ec2-eip-transferaddress"
|
15
|
+
output << "\n Domain String # http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html#cfn-ec2-eip-domain"
|
16
|
+
output << "\n Tags [List] # http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html#cfn-ec2-eip-tags"
|
17
|
+
output << "\n NetworkBorderGroup String # http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html#cfn-ec2-eip-networkbordergroup"
|
16
18
|
output << "\n end\nend\n"
|
17
19
|
expect(template).to eq output
|
18
20
|
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: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Jack
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: exe
|
13
13
|
cert_chain: []
|
14
|
-
date: 2022-
|
14
|
+
date: 2022-12-28 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|
@@ -187,14 +187,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
187
187
|
requirements:
|
188
188
|
- - ">="
|
189
189
|
- !ruby/object:Gem::Version
|
190
|
-
version: '2.
|
190
|
+
version: '2.7'
|
191
191
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
192
192
|
requirements:
|
193
193
|
- - ">="
|
194
194
|
- !ruby/object:Gem::Version
|
195
195
|
version: '0'
|
196
196
|
requirements: []
|
197
|
-
rubygems_version: 3.
|
197
|
+
rubygems_version: 3.4.1
|
198
198
|
signing_key:
|
199
199
|
specification_version: 4
|
200
200
|
summary: AWS Cloudformation DSL
|