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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ae44c5d6a8ef25cb9a1bddef8be090585ee044a0
4
- data.tar.gz: fb27547765a960f1553286e050d80edf18f490e2
3
+ metadata.gz: ed5e30f81fd8ef5089d709cb5ac0a7c64bab2cf3
4
+ data.tar.gz: f89d4f836ddb6119e627d50ec5960bc1f938f5ce
5
5
  SHA512:
6
- metadata.gz: 83d1c2e8e3d312bfccd564eda1502f74280027839640d43a4f575ef0f6c9f11529da3076ddd6c1f14b65738e8a2c77f34d57945baf3f6fb6d469dcc66252e0be
7
- data.tar.gz: f942a22f5c2eeeb521c7f2c5382b07e7d17ebaa30bc9a57172432d2627f5ed35447ddaf5deec09c2986a8cd6faf78b9ca73d5ea5d1e5fc98741621d3f9096320
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.20'
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.20
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-21 00:00:00.000000000 Z
11
+ date: 2017-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk