for testing
This commit is contained in:
parent
215714fb1b
commit
c55f69bd75
@ -262,9 +262,14 @@ module Provider
|
||||
pp s
|
||||
s
|
||||
=end
|
||||
l = compute.servers.all({'tag-key' => 'aws:cloudformation:stack-id', 'tag-value' => stack.id})
|
||||
pp l
|
||||
l
|
||||
list = compute.describe_instances({'tag-key' => 'aws:cloudformation:stack-id', 'tag-value' => stack.id}).body["reservationSet"]
|
||||
pp list
|
||||
list.map{|l| pp l; convert_server(l["instancesSet"][0])}
|
||||
=begin
|
||||
list.select{|l| l["instancesSet"][0]["instanceState"]["name"].to_s != "terminated"}.map do |server|
|
||||
|
||||
end
|
||||
=end
|
||||
end
|
||||
|
||||
def create_default_stack_name s
|
||||
|
||||
Loading…
Reference in New Issue
Block a user