# File lib/chef/knife/ec2_server_delete.rb, line 49
      def run 
        require 'fog'
        require 'highline'
        require 'net/ssh/multi'
        require 'readline'

        connection = Fog::AWS::EC2.new(
          :aws_access_key_id => Chef::Config[:knife][:aws_access_key_id],
          :aws_secret_access_key => Chef::Config[:knife][:aws_secret_access_key],
          :region => config[:region]
        )

        @name_args.each do |instance_id|
          server = connection.servers.get(instance_id)

          puts "#{h.color("Instance ID", :cyan)}: #{server.id}"
          puts "#{h.color("Flavor", :cyan)}: #{server.flavor_id}"
          puts "#{h.color("Image", :cyan)}: #{server.image_id}"
          puts "#{h.color("Availability Zone", :cyan)}: #{server.availability_zone}"
          puts "#{h.color("Security Groups", :cyan)}: #{server.groups.join(", ")}"
          puts "#{h.color("SSH Key", :cyan)}: #{server.key_name}"
          puts "#{h.color("Public DNS Name", :cyan)}: #{server.dns_name}"
          puts "#{h.color("Public IP Address", :cyan)}: #{server.ip_address}"
          puts "#{h.color("Private DNS Name", :cyan)}: #{server.private_dns_name}"
          puts "#{h.color("Private IP Address", :cyan)}: #{server.private_ip_address}"

          puts "\n"
          confirm("Do you really want to delete this server")

          server.destroy

          Chef::Log.warn("Deleted server #{server.id}")
        end
      end