lib/kumogata/client.rb in kumogata-0.3.5 vs lib/kumogata/client.rb in kumogata-0.3.6
- old
+ new
@@ -507,23 +507,23 @@
end
def output_result(stack_name, outputs, summaries)
puts <<-EOS
-Outputs:
-#{JSON.pretty_generate(outputs).colorize_as(:json)}
-
Stack Resource Summaries:
#{JSON.pretty_generate(summaries).colorize_as(:json)}
+Outputs:
+#{JSON.pretty_generate(outputs).colorize_as(:json)}
+
(Save to `#{@options.result_log}`)
EOS
open(@options.result_log, 'wb') do |f|
f.puts JSON.pretty_generate({
'StackName' => stack_name,
- 'Outputs' => outputs,
'StackResourceSummaries' => summaries,
+ 'Outputs' => outputs,
})
end
end
def validate_stack_name(stack_name)