cloudformation-tool 1.5.3 → 1.5.5
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 +1 -1
- data/lib/cloud_formation_tool/version.rb +1 -1
- data/lib/cloud_formation_tool.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a68289f1342a575b7cbc5dc357d7f90e05c43b03282b2292b8098ce11f1be6a6
|
4
|
+
data.tar.gz: 376dd9a25c1ea51db7b50bd5221892a525c2736d7d045b2ff4e34bf0f9e051a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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: '
|
35
|
+
acl: 'public-read',
|
36
36
|
body: content,
|
37
37
|
content_disposition: 'attachment',
|
38
38
|
content_type: mime_type,
|
data/lib/cloud_formation_tool.rb
CHANGED
@@ -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.
|
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:
|
11
|
+
date: 2023-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|