'Such acts of violence will never weaken India’s resolve,' Narendra Modi said in a post on the social platform X