[WIP] List Config resources

WIP
Can we extract this if outside the `switch`, it's done in both of the cases?