fixed stack status
This commit is contained in:
parent
1129079627
commit
b2c666ea95
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user