Azerbaijan also includes Nakhchivan Autonomous Republic , anenclave , which is next to Armenia to the north and east , Iran to the south and west , and Turkey to the northwest . The exclave of Nakhchivan is bounded by Armenia to the north and east , Iran to the south and west , while having a short borderline with Turkey to the northwest .