Pulled this in to test and occurred to me that the `resourceId` portion of a group can be less than 6 characters, I don't think this handles that well. Maybe we can hash the `resourceId` to a deterministic length.