hako 2.0.2 → 2.0.3

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: 3cb7d7b9b575613ebbbf620caa3aba0bfd8507f90e3e5eb4eff8696c07ca0192
4
- data.tar.gz: 5914949493aba24b67a5f69380cec9135462df8914e9e100eed9f668e12eee9b
3
+ metadata.gz: 3defba0a6b4f94fe0288e2adddf94e7ed3fa0f747ed5af52923e191ac6980b8f
4
+ data.tar.gz: 2e8d3ebca2cc2193106e9b2daa1619e71d455d3feacc6a539330652db436f5a7
5
5
  SHA512:
6
- metadata.gz: 54a69f412bfb21646eb27677c561a42371fa41dad1236fbc96cbefdcbaaa6e34a20287213c22738bba1c6266be9596b4a45522e7534d0a3f37952ef115687c3e
7
- data.tar.gz: 616a7c0eadfc8d03149d06431a089688b5fc270fa54700b37c8aa7e7feef861a9b961804acc14203e2ff66fad15f5364b73487b8b562e505e3ba5e47535731da
6
+ metadata.gz: ce6babefafe1cc36fe1846f55d9be70ec0e1b1afad8f6a6887aaf3df2669650c57a7c0474b484cd941627160bf0bc247c1f44533560e09e16073e58139cdc8a8
7
+ data.tar.gz: 3103640c9dd528a861dec9ea902e124cf5bb7b8657ed19aed74e53460fc63d04ce54e5c9dd66931c8a0b8948419760b85923b3d3e4260ca1b49c0dfcfc90d3e5
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 2.0.3 (2018-02-16)
2
+ ## Bug fixes
3
+ - create_aws_cloud_watch_logs_log_group script: Skip creating CloudWatch log group on dry-run
4
+
1
5
  # 2.0.2 (2017-12-19)
2
6
  ## Bug fixes
3
7
  - Skip expanding variables in `remove` and `stop`
@@ -33,8 +33,12 @@ module Hako
33
33
  region = options.fetch('awslogs-region')
34
34
 
35
35
  unless log_group_exist?(group, region: region)
36
- cloudwatch_logs(region).create_log_group(log_group_name: group)
37
- Hako.logger.info "Created CloudWatch log group #{group} in #{region}"
36
+ if @dry_run
37
+ puts "#{self.class} will create CloudWatch log group #{group} in #{region}"
38
+ else
39
+ cloudwatch_logs(region).create_log_group(log_group_name: group)
40
+ Hako.logger.info "Created CloudWatch log group #{group} in #{region}"
41
+ end
38
42
  end
39
43
  end
40
44
 
data/lib/hako/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Hako
4
- VERSION = '2.0.2'
4
+ VERSION = '2.0.3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hako
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kohei Suzuki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-19 00:00:00.000000000 Z
11
+ date: 2018-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-applicationautoscaling