Apartment resident shot in attempted robbery

A robbery suspect was shot and killed by a resident at an apartment complex in north Harris County on Tuesday.