# File lib/aws/ec2/instance.rb, line 430
      def attach_network_interface network_interface, options = {}
        if network_interface.is_a?(NetworkInterface)
          network_interface.attach(self, options)
        else
          i = NetworkInterface.new(network_interface, :config => config)
          i.attach(self, options)
        end
        nil
      end