terraspace_plugin_aws 0.2.0 → 0.2.1

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: a5637326fc002e5732dc1f88390505ad9287ce54926e24646ae6fac4070d851f
4
- data.tar.gz: 9bd59a232bed2d678dbb6d04c2043c91a0312f8f2385623d5eb7c27416e507cc
3
+ metadata.gz: fe3bb9a8a7744b46c03ecb1abb577b0c0efd86e5304041b5e0c3e2aa085edb36
4
+ data.tar.gz: 0c5c7d985be2fc6eb218ade8b698f4e4534038428c238af911f8bdab903be846
5
5
  SHA512:
6
- metadata.gz: 5415e06cdac40d7b415474bcf4fcce6f063369e3e3a7354a9256ecb1adaba51dc23b8d1d8c56c53be90c21d5eb8fef4fddce951784eb193dc974829b2a825671
7
- data.tar.gz: f6b29f9a92920e925a4a7c85817f8d03ad2e94899a51849a1e88cb523d81b77440fec922907f12da94955f30807817fb92bca20000bc0f4ec4efcdaa69f61a02
6
+ metadata.gz: 9aa446bf85feb83a954620b52222f3e28215a36e8769fdc4c620af2d02913ad7c81b4985674220d222c5ee95cf6226ce24cf8761d4bd991a6cb967037be11b3c
7
+ data.tar.gz: a7fd615550e52f1ec56d1b1701f843c4fa9b21f664efd286e01552a1bc9b875db2ea1b02247b7961ab4788107551ad6247f7e330e09d2097680f33660a3b958f
@@ -3,6 +3,9 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/).
5
5
 
6
+ ## [0.2.1]
7
+ - #3 quiet s3-secure messages
8
+
6
9
  ## [0.2.0]
7
10
  - #2 include layer interface, update template to expansion method
8
11
 
@@ -4,12 +4,12 @@ class TerraspacePluginAws::Interfaces::Backend::Bucket
4
4
  module Secure
5
5
  def secure(bucket)
6
6
  c = TerraspacePluginAws::Interfaces::Config.instance.config.s3
7
-
8
- S3Secure::Encryption::Enable.new(bucket: bucket).run if c.encryption
9
- S3Secure::Policy::Enforce.new(bucket: bucket, sid: "ForceSSLOnlyAccess").run if c.enforce_ssl
10
- S3Secure::Versioning::Enable.new(bucket: bucket).run if c.versioning
11
- S3Secure::Lifecycle::Add.new(bucket: bucket).run if c.lifecycle
12
- S3Secure::AccessLogs::Enable.new(bucket: bucket).run if c.access_logging
7
+ options = {bucket: bucket, quiet: true}
8
+ S3Secure::Encryption::Enable.new(options).run if c.encryption
9
+ S3Secure::Policy::Enforce.new(options.merge(sid: "ForceSSLOnlyAccess")).run if c.enforce_ssl
10
+ S3Secure::Versioning::Enable.new(options).run if c.versioning
11
+ S3Secure::Lifecycle::Add.new(options).run if c.lifecycle
12
+ S3Secure::AccessLogs::Enable.new(options).run if c.access_logging
13
13
  end
14
14
  end
15
15
  end
@@ -1,3 +1,3 @@
1
1
  module TerraspacePluginAws
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: terraspace_plugin_aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-20 00:00:00.000000000 Z
11
+ date: 2020-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-dynamodb