cloudformation-tool 1.5.2 → 1.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cloud_formation_tool/storable.rb +2 -1
- data/lib/cloud_formation_tool/version.rb +1 -1
- data/lib/cloud_formation_tool.rb +1 -1
- metadata +1 -1
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
|
@@ -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