cloudformation-tool 1.5.1 → 1.5.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac5589ca79030ad6b8bb16395854f58d79c58904370b94ee67f29da4f44ac57d
|
4
|
+
data.tar.gz: 71f737015c3b9fe2bd453a126f00fcee6609186ede91a69b38169059c500ff4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1bf4c2f26991dbb5f7c65d5dec2ccecf7c5863ff6a6a03cfa88a95f36866152b3d432250daf70f58fbf6b6ee3d8f1e155c738b1690be318acda6f32d8fd77aa
|
7
|
+
data.tar.gz: ad35810e3407e22b430373ae88cd9005d41d8e58124b70a85a62930354e90e515c745b833310825dbca6b309c5d5014895cf252e437ae00988e6817996774532
|
@@ -19,8 +19,8 @@ module CloudFormationTool
|
|
19
19
|
else
|
20
20
|
tpl = CloudFormation.parse(file)
|
21
21
|
params = get_params
|
22
|
-
data = tpl.compile(params)
|
23
|
-
data['Parameters'].each do |name,param|
|
22
|
+
data = tpl.compile(params)
|
23
|
+
(data['Parameters'] || []).each do |name,param|
|
24
24
|
param['Default'] = params[name] if params.has_key? name
|
25
25
|
end
|
26
26
|
puts data.to_yaml
|
@@ -32,13 +32,14 @@ module CloudFormationTool
|
|
32
32
|
# no such luck, we need to actually upload the file
|
33
33
|
o = b.object("cf-compiled/#{prefix}/#{path}")
|
34
34
|
file_opts = {
|
35
|
-
acl: '
|
35
|
+
acl: 'bucket-owner-full-control',
|
36
36
|
body: content,
|
37
37
|
content_disposition: 'attachment',
|
38
38
|
content_type: mime_type,
|
39
39
|
storage_class: 'REDUCED_REDUNDANCY'
|
40
40
|
}
|
41
41
|
file_opts.merge!({content_encoding: 'gzip'}) if gzip
|
42
|
+
debug "Uploading S3 object s3://#{b.name}/#{o.key}"
|
42
43
|
o.put(file_opts)
|
43
44
|
else
|
44
45
|
debug "re-using cached object"
|
data/lib/cloud_formation_tool.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudformation-tool
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oded Arbel
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -150,7 +150,7 @@ dependencies:
|
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
|
-
description:
|
153
|
+
description:
|
154
154
|
email: oded.arbel@greenfieldtech.net
|
155
155
|
executables:
|
156
156
|
- cftool
|
@@ -193,7 +193,7 @@ homepage: http://github.com/GreenfieldTech/cloudformation-tool
|
|
193
193
|
licenses:
|
194
194
|
- GPL-2.0
|
195
195
|
metadata: {}
|
196
|
-
post_install_message:
|
196
|
+
post_install_message:
|
197
197
|
rdoc_options: []
|
198
198
|
require_paths:
|
199
199
|
- lib
|
@@ -208,8 +208,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
208
208
|
- !ruby/object:Gem::Version
|
209
209
|
version: '0'
|
210
210
|
requirements: []
|
211
|
-
rubygems_version: 3.
|
212
|
-
signing_key:
|
211
|
+
rubygems_version: 3.3.15
|
212
|
+
signing_key:
|
213
213
|
specification_version: 4
|
214
214
|
summary: A pre-compiler tool for CloudFormation YAML templates
|
215
215
|
test_files: []
|