This is a very old version and I have no idea what GitHub - albuild/snap: Snappy for Amazon Linux 2 repository is nor who maintains it.
The location of relevant specs which were used to build and publish the repository is linked to here: Unofficial snapd repository for Amazon Linux 2 - #31 by mborzecki1 If you are in an immediate need of installing snapd on Amazon Linux 2023, I suggest you rebuild the packages yourself.