Support if only resource_id is specified