This post seems like it might be helpful but I haven't been able to adapt it to my needs. The meat of it is:
$custom_thing = ('custom_thing',{})
create_resources(param, $custom_thing)
Here is my Hiera snippet:
limits_limits:
'nofile.conf':
'user': 0:999999
'limit_type': 'nofile'
'both' : '131072'
'nprocs.conf':
'user': 0:999999
'limit_type' : 'nprocs'
'both' : '131072'