My iPhone, iPad, and MacBook all have the Keep Messages setting on 30 days. When I turn on iCloud for Messages though, it changes to Forever and my iCloud storage fills up (I only have 5 GB). I can change it back to 30 days for each device, but the space Messages takes on iCloud remains the same (2.26 GB).
All my devices are using the latest version of iOS and macOS.
Is there a way to only store messages for 30 days in iCloud?