Hey @turkey_automation,
Amazon Linux 2 and Amazon Linux 2023 are not supported distros for Sensu Go, but if you’d like, I can add that as a feature request for future releases. In the meantime, if you look at the shell script, there is a note that will be helpful. I’ll include that here:
Unfortunately, your operating system distribution and version are not supported by this script.
You can override the OS detection by setting os= and dist= prior to running this script.
You can find a list of supported OSes and distributions on our website: https://packagecloud.io/docs#os_distro_version
For example, to force CentOS 6: os=el dist=6 ./script.sh
In the case of Amazon Linux 2, you should be able to run something like this:
curl -s https://packagecloud.io/install/repositories/sensu/stable/script.rpm.sh?os=el&dist=7 | sudo bash
sudo yum install sensu-go-agent
Let me know if that is helpful.
Best,
Justin