The innovative architecture of Device-to-Device (D2D) underlying LTE/LTE-A networks is brought up to enable efficient discovery and communication between proximate devices. However, enabling D2D communications in a cellular network poses a major challenge that Quality of Service (QoS) requirements of D2D communications need to be guaranteed. Thus, synchronization between devices becomes a necessity and Radio Resource Management (RRM) becomes a key design aspect to enable D2D communication, where resource allocation phase is one of the most critical aspects. The problem of resource allocation in D2D communication system is a combinatorial optimization issue, difficult to obtain optimum solutions in polynomial time. In order to reduce complexity, it can be solved by using linear algorithms or by metaheuristic methods. In this paper an Ant Colony Optimization (ACO) based resource allocation and resource sharing scheme for Vehicle-to-Vehicle (V2V) based D2D communications in LTE-A networks is introduced. The swarm intelligence algorithm ACO, which is a typical algorithm of metaheuristic methods, is adopted to resolve the optimization problem of maximizing the network sum rate while considering the QoS requirements.