fixed stack status

This commit is contained in:
amartynov 2015-09-21 18:00:21 +03:00
parent 1129079627
commit b2c666ea95

View File

@ -285,8 +285,7 @@ module Provider
def stack_details(stack)
#cloud_formation.describe_stacks({'StackName' => stack.name}).body['Stacks'][0]
b = cloud_formation.describe_stacks({'StackName' => stack.name}).body
pp b
b['Stacks'][0]
b['Stacks'].detect{|s| s.key?("StackStatus")} || {}
end
def stack_resources(stack)