Access, renewables and efficiency have been identified as targets in the field of energy under the Sustainable Development Goals (SDGs). Resilience is also a critical dimension that needs to be considered in moving towards sustainable energy. Diversification of direct energy suppliers has been the conventional recourse for achieving energy security. In consideration of the increasingly globalized nature of trade, energy and supply chain networks, however, this approach would be insufficient for addressing the resilience of energy supplies to potential environmental, economic and social shocks and disruptions. In this paper we investigate countries' energy resilience by quantifying diversity in suppliers of both direct and embodied energy and examine how selections of indirect energy supplies can affect the resilience of the entire embodied-energy trade network. We find that the geographical diversity of embodied energy imports is much greater than that of direct energy imports, and there are considerable variations across countries in the diversification of embodied energy imports. This suggests a possible strategy for countries that depend heavily on a few neighbors for their direct energy imports to diversify their supply chain globally in order to benefit from larger diversity of embodied energy supplies, thereby strengthening the energy resilience of their economies