anchor.diff:  if instance.exists?
     while instance.status == :pending
       sleep 5
  -    send_order_status('PENDING', order_id, '')
  +    send_order_status('PENDING', order_id, info)
     end
   end
   
  
positive.code:   end
  end # End of function
  
  # Retrieve the information passed to MIQ from the Dialog call
  access_key_id = "#{$evm.root['dialog_access_key_id']}"
  secret_access_key = "#{$evm.root['dialog_secret_access_key']}"
  image_id = "#{$evm.root['dialog_image_id']}"
  instance_type = "#{$evm.root['dialog_instance_type']}"
  count = "#{$evm.root['dialog_count']}"
  availability_zone = "#{$evm.root['dialog_availability_zone']}"
  security_groups = "#{$evm.root['dialog_security_groups']}"
  key_name = "#{$evm.root['dialog_key_name']}"
  order_id = "#{$evm.root['dialog_order_item']}"
  instance_name = "#{$evm.root['dialog_instance_name']}"
  
  # Configure AWS
  AWS.config(
  
negative.code: # But first just print them all out
  
  info = {
    'id' => order_id,
    'uuid' => uuid,
    'instance_name' => instance_name,
    'order_item' => order_id,
    'architecture' => instance.architecture,
    'dns_name' => instance.dns_name,
    'id' => instance.id,
    'image_id' => instance.image_id,
    'instance_type' => instance.instance_type,
    'ip_address' =>  instance.ip_address,
    'key_name' => instance.key_name,
    'launch_time' => instance.launch_time,
    'owner_id' => instance.owner_id,
    'platform' => instance.platform,
    'private_ip_address' => instance.private_ip_address,
    'root_device_name' => instance.root_device_name,
    'root_device_type' => instance.root_device_type,
    'instance' => instance.status,
    'subnet_id' => instance.subnet_id,
    'virtualization_type' => instance.virtualization_type,
    'vpc_id' => instance.vpc_id
  }
  
  send_order_status('OK', order_id, info)
  