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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b178fc2f17b4f5e94c89b5ef629a775f1c5f10ecac48dbd6e18d935001c44d10
4
- data.tar.gz: 208d5f87e1a55c2da8b8691c50cdf17454fbbcffe0ab4155fb32c92620aff6e7
3
+ metadata.gz: ac5589ca79030ad6b8bb16395854f58d79c58904370b94ee67f29da4f44ac57d
4
+ data.tar.gz: 71f737015c3b9fe2bd453a126f00fcee6609186ede91a69b38169059c500ff4e
5
5
  SHA512:
6
- metadata.gz: 86b1a643a7c5c0c3dfb210d8fd12cc8e9647d923af8f56684232231109f8708f91e2e03a3b7987d10cd8b4c5b55c20986da4763bd56067602b8da4a2710855bf
7
- data.tar.gz: ae79bd3957753bbed48de21a97ba63d6b43eb55f16c4fae4da2c0f9062828765a34598fa66f43d96c469c1a67c586ba21ad3b245ab6869aed1d28d70994d3b7d
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: 'public-read',
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"
@@ -1,3 +1,3 @@
1
1
  module CloudFormationTool
2
- VERSION = '1.5.2'
2
+ VERSION = '1.5.3'
3
3
  end
@@ -132,4 +132,4 @@ module CloudFormationTool
132
132
  "cf-templates-#{key}-#{region}"
133
133
  end
134
134
 
135
- end
135
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudformation-tool
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.2
4
+ version: 1.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oded Arbel