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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/hako/scripts/create_aws_cloud_watch_logs_log_group.rb +6 -2
- data/lib/hako/version.rb +1 -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: 3defba0a6b4f94fe0288e2adddf94e7ed3fa0f747ed5af52923e191ac6980b8f
|
4
|
+
data.tar.gz: 2e8d3ebca2cc2193106e9b2daa1619e71d455d3feacc6a539330652db436f5a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce6babefafe1cc36fe1846f55d9be70ec0e1b1afad8f6a6887aaf3df2669650c57a7c0474b484cd941627160bf0bc247c1f44533560e09e16073e58139cdc8a8
|
7
|
+
data.tar.gz: 3103640c9dd528a861dec9ea902e124cf5bb7b8657ed19aed74e53460fc63d04ce54e5c9dd66931c8a0b8948419760b85923b3d3e4260ca1b49c0dfcfc90d3e5
|
data/CHANGELOG.md
CHANGED
@@ -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
|
-
|
37
|
-
|
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
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.
|
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:
|
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
|