The correct version is “It’s a 10-minute bus ride.” You’re right — we absolutely do need the indefinite article with the singular countable noun (“ride”). The other version is not used. An alternate wording would be “a bus ride of 10 minutes”, but that strikes me as a bit long-winded and slightly unnatural sounding.