# File lib/aws/ec2/internet_gateway.rb, line 67
      def vpc= vpc
        if attachment = attachments.first
          attachment.delete
        end
        attach(vpc) if vpc
      end