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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ab8f59278665a11fa19fb70dfbb8959271156d79cede05f67acd56ef12b7b8c5
4
- data.tar.gz: 640cc60f99dc42503b7f583384fc2700ea12ce720cf76f1e6203ef05ba753e88
3
+ metadata.gz: 2e0639e6b23ecef2ac642cafdf9f9c9eaeb3dbfdc5cec7d4f7bcfc35068060fe
4
+ data.tar.gz: b22af994e3793c5548b14e1203120c46534c84e10d96df56d8e642773ddbbe30
5
5
  SHA512:
6
- metadata.gz: 27cf1a8a766adf340f9c57c68b4d0870037c53bd281c4fe444923a4df5727dc994773b98f2ded35982a432eaf8a70b6072a84dbd61ea529f86c5b6ad8b06062e
7
- data.tar.gz: 944c85c1bb31cc3e1fd0682934aeb4302d85b1c832b0450ca3211901e00173f53d268f5746a3abd4324d86ebee0b81dd698cfbe4e02e94b6def8d0b027787575
6
+ metadata.gz: 2b60894c2b295b58cfc80e0f293ad7925a8152dbe2bb5e794481d97a658c270c2c1f7160601e2a274fcab5109cd9bbbcf72a4d90c088fd85197a82da17cd3fd6
7
+ data.tar.gz: 49badaca98ef867ae2e9503057f9f7d14c3d1ae72ae6750665a13bfc061d833c6b3195c41c3c3d7a2f798a00f72c389d55d71515995087a1872f424b3acf496d
@@ -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
 
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Lono
2
- VERSION = "5.3.1"
2
+ VERSION = "5.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lono
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.3.1
4
+ version: 5.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen