Fixed it, it will be released in Duplicator v1.5.0. I tested AWS, no problem found. I will release also the updated Duplicator-SDKs.
It doesn't look like this fix made it into 1.5.0 or 1.5.1. Would be great to have as we are hoping to upgrade to PHP 8.2 on all our sites soon with support for 8.0 ending. Thanks!