Assigning/unassigning a resource to a service