cloudformation-tool 1.5.3 → 1.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac5589ca79030ad6b8bb16395854f58d79c58904370b94ee67f29da4f44ac57d
4
- data.tar.gz: 71f737015c3b9fe2bd453a126f00fcee6609186ede91a69b38169059c500ff4e
3
+ metadata.gz: a68289f1342a575b7cbc5dc357d7f90e05c43b03282b2292b8098ce11f1be6a6
4
+ data.tar.gz: 376dd9a25c1ea51db7b50bd5221892a525c2736d7d045b2ff4e34bf0f9e051a7
5
5
  SHA512:
6
- metadata.gz: f1bf4c2f26991dbb5f7c65d5dec2ccecf7c5863ff6a6a03cfa88a95f36866152b3d432250daf70f58fbf6b6ee3d8f1e155c738b1690be318acda6f32d8fd77aa
7
- data.tar.gz: ad35810e3407e22b430373ae88cd9005d41d8e58124b70a85a62930354e90e515c745b833310825dbca6b309c5d5014895cf252e437ae00988e6817996774532
6
+ metadata.gz: efec7d22296cb8dc4bcb936521e0473265d91cd75cff225573a7386184a00c7434d2fc8629ec30e58f272681204cd896b2ccd8dda1a8c596a37e3ad7e5e91360
7
+ data.tar.gz: bdbf9385bf2d15fe29bc0b80ba02ecda0bea8c3917d799c78c24c152eee0efffa3ccd96bfb7a9bfb6ed897c438746eb2e62d58330327024ae687ce7808c87ea2
@@ -32,7 +32,7 @@ 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: 'bucket-owner-full-control',
35
+ acl: 'public-read',
36
36
  body: content,
37
37
  content_disposition: 'attachment',
38
38
  content_type: mime_type,
@@ -1,3 +1,3 @@
1
1
  module CloudFormationTool
2
- VERSION = '1.5.3'
2
+ VERSION = '1.5.5'
3
3
  end
@@ -118,7 +118,8 @@ module CloudFormationTool
118
118
  log "Creating CF template bucket #{name}"
119
119
  awss3.create_bucket({
120
120
  acl: "private",
121
- bucket: name
121
+ bucket: name,
122
+ object_ownership: 'BucketOwnerPreferred'
122
123
  }.merge(if region == 'us-east-1' then {} else { create_bucket_configuration: { location_constraint: region } } end))
123
124
  name
124
125
  else
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.3
4
+ version: 1.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oded Arbel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-30 00:00:00.000000000 Z
11
+ date: 2023-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake