kumogata-template 0.0.20 → 0.0.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kumogata/template/alb.rb +9 -0
- data/lib/kumogata/template/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed5e30f81fd8ef5089d709cb5ac0a7c64bab2cf3
|
4
|
+
data.tar.gz: f89d4f836ddb6119e627d50ec5960bc1f938f5ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2af14e96dce15b043619779410d5f8be67c36780a77f30c0fa96f480b84e9cfcf722a0ecafc62bc350561eb07165cbe0cc7613f9c8de30129421037f9b9501e8
|
7
|
+
data.tar.gz: ffafe9ff6045d0eee19ecdf4d10b59b72a91c7d3202630e68b6f05d284383709be092f4a3460f1edd0f35980515e63dd1b79d7cfbf1a9555c824d14fb94ee838
|
@@ -118,6 +118,7 @@ end
|
|
118
118
|
|
119
119
|
def _alb_targets(args)
|
120
120
|
targets = args[:targets] || []
|
121
|
+
ref_targets = args[:ref_targets] || []
|
121
122
|
|
122
123
|
array = []
|
123
124
|
targets.each do |target|
|
@@ -127,5 +128,13 @@ def _alb_targets(args)
|
|
127
128
|
Port target[:port] if target.key? :port
|
128
129
|
}
|
129
130
|
end
|
131
|
+
|
132
|
+
ref_targets.each do |target|
|
133
|
+
array << _{
|
134
|
+
Id _ref_string("instance", { ref_instance: target }, "instance")
|
135
|
+
Port 80
|
136
|
+
}
|
137
|
+
end
|
138
|
+
|
130
139
|
array
|
131
140
|
end
|
@@ -1 +1 @@
|
|
1
|
-
KUMOGATA_TEMPLATE_VERSION = '0.0.
|
1
|
+
KUMOGATA_TEMPLATE_VERSION = '0.0.21'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kumogata-template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Naoya Nakazawa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|