lono 5.3.1 → 5.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/lono/s3/bucket.rb +6 -0
- data/lib/lono/version.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: 2e0639e6b23ecef2ac642cafdf9f9c9eaeb3dbfdc5cec7d4f7bcfc35068060fe
|
4
|
+
data.tar.gz: b22af994e3793c5548b14e1203120c46534c84e10d96df56d8e642773ddbbe30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b60894c2b295b58cfc80e0f293ad7925a8152dbe2bb5e794481d97a658c270c2c1f7160601e2a274fcab5109cd9bbbcf72a4d90c088fd85197a82da17cd3fd6
|
7
|
+
data.tar.gz: 49badaca98ef867ae2e9503057f9f7d14c3d1ae72ae6750665a13bfc061d833c6b3195c41c3c3d7a2f798a00f72c389d55d71515995087a1872f424b3acf496d
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,9 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
5
5
|
|
6
|
+
## [5.3.2]
|
7
|
+
- #11 enable sse-s3 encryption for lono managed s3 bucket
|
8
|
+
|
6
9
|
## [5.3.1]
|
7
10
|
- #10 fixes for param diff preview: Ignore noecho parameters
|
8
11
|
|
data/lib/lono/s3/bucket.rb
CHANGED
@@ -110,6 +110,8 @@ class Lono::S3
|
|
110
110
|
private
|
111
111
|
|
112
112
|
def empty_bucket!
|
113
|
+
return unless bucket_name # in case of lono stack ROLLBACK_COMPLETE from failed bucket creation
|
114
|
+
|
113
115
|
resp = s3.list_objects(bucket: bucket_name)
|
114
116
|
if resp.contents.size > 0
|
115
117
|
# IE: objects = [{key: "objectkey1"}, {key: "objectkey2"}]
|
@@ -150,6 +152,10 @@ class Lono::S3
|
|
150
152
|
Bucket:
|
151
153
|
Type: AWS::S3::Bucket
|
152
154
|
Properties:
|
155
|
+
BucketEncryption:
|
156
|
+
ServerSideEncryptionConfiguration:
|
157
|
+
- ServerSideEncryptionByDefault:
|
158
|
+
SSEAlgorithm: AES256
|
153
159
|
Tags:
|
154
160
|
- Key: Name
|
155
161
|
Value: lono
|
data/lib/lono/version.rb
CHANGED