lib/simple_deploy/stack.rb in simple_deploy-0.2.3 vs lib/simple_deploy/stack.rb in simple_deploy-0.2.4
- old
+ new
@@ -55,18 +55,26 @@
def resources
stack.resources
end
def instances
- stack.instances_private_ip_addresses
+ stack.instances.map do |i|
+ if i['instancesSet'].first['privateIpAddress']
+ i['instancesSet'].first['privateIpAddress']
+ end
+ end
end
def status
stack.status
end
def attributes
stack.attributes
+ end
+
+ def parameters
+ stack.parameters
end
def template
JSON.parse stack.template
end