Is there an association between shingles and hiv?

Yes. An condition that affects the immune system such as HIV can result in increased expression of shingles.