tailstack 0.0.10 → 0.0.11
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 +4 -4
- data/bin/tailstack +9 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c22256f5c67e362e9fa2f47ffc37e91811b422a3
|
4
|
+
data.tar.gz: 9f4471a1e4f6a9b21d1dee450a38f607e350169b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4b12fc2ae63bc6791005d208a0932bd7c47022f4e513f7e2b09f39946a9ba53d597af0c019bc37748f424b1d2ec6507a65568ad4f0312ddeabb92f1de537716
|
7
|
+
data.tar.gz: 98d285691737df3a5dc1616d8e94603b61c523c1b4c2773b6425fe1a5d506ecc52f64924c5dc4f22e4eb779f00bb18112d744a68925b2c356b68e9d0a3830c8e
|
data/bin/tailstack
CHANGED
@@ -139,7 +139,15 @@ def print_list(cfn, options)
|
|
139
139
|
status_map[s[:stack_id]] = s[:stack_status]
|
140
140
|
end
|
141
141
|
|
142
|
-
|
142
|
+
stacks = []
|
143
|
+
next_token = nil
|
144
|
+
loop do
|
145
|
+
resp = cfn.describe_stacks({next_token: next_token}).to_h
|
146
|
+
stacks += resp[:stacks]
|
147
|
+
break unless resp[:next_token]
|
148
|
+
next_token = resp[:next_token]
|
149
|
+
end
|
150
|
+
stacks.each do |s|
|
143
151
|
next if options.key?(:stack) && options[:stack] != s[:stack_name]
|
144
152
|
next if status_map[s[:stack_id]] == 'DELETE_COMPLETE'
|
145
153
|
puts "#{s[:stack_name].bold} - #{s[:description].cyan}" unless options.key? :get_out
|