fixed stack status
This commit is contained in:
parent
1129079627
commit
b2c666ea95
@ -285,8 +285,7 @@ module Provider
|
|||||||
def stack_details(stack)
|
def stack_details(stack)
|
||||||
#cloud_formation.describe_stacks({'StackName' => stack.name}).body['Stacks'][0]
|
#cloud_formation.describe_stacks({'StackName' => stack.name}).body['Stacks'][0]
|
||||||
b = cloud_formation.describe_stacks({'StackName' => stack.name}).body
|
b = cloud_formation.describe_stacks({'StackName' => stack.name}).body
|
||||||
pp b
|
b['Stacks'].detect{|s| s.key?("StackStatus")} || {}
|
||||||
b['Stacks'][0]
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def stack_resources(stack)
|
def stack_resources(stack)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user