[config] Expose "attach" and "detach" as resource methods