On the AWS RDS documentation I see that
Grant and revoke the replication attribute onto all roles that are not the rds_superuser role. For more information, see this section in the PostgreSQL documentation.
But, if I try, while logged in as my
ALTER ROLE ROLENAME WITH REPLICATION;
I get an error stating that I cannot perform that action due to not being a superuser.
Do you guys know how to set the replication attribute to a user?