No person, political subdivision, or the state is liable for failure to provide a prison, jail, or penal or correctional facility, or if such facility is provided, for failure to provide sufficient equipment, personnel, programs, facilities, or services in a prison or other correctional facility.
SDCL 3-21-8