Allow passing in more options to apply_resources through environment