Support omitting resource_id in SGS create_attachment