Hi, we attempted to upgrade ssm agent via aws:updateSsmAgent document and encountered a issue:
Updating amazon-ssm-agent from 2.3.707.0 to latest
Successfully downloaded https://s3.us-west-2.amazonaws.com/amazon-ssm-us-west-2/ssm-agent-manifest.json
----------ERROR-------
cannot find the amazon-ssm-agent-windows-amd64.tar.gz information in the Manifest file
After tracing code, we found that ssm agent only determines whether EC2's OS is Amazon Linux, RedHat, Ubuntu, CentOS, SuseOS, Respbian and WindowsNano container, Debian is not included.
While the else case is Windows, it will lead Debian EC2 to download Windows ssm agent.
arch is correctly determined by runtime.GOARCH.
The package extension is determined to be tar.gz since the ssm document run on linux EC2.
So the final combination of package name is amazon-ssm-agent-windows-amd64.tar.gz, which lead to this issue.
Thanks for your interest about amazon ssm agent. We鈥檒l work on this bug fix.
I am experiencing the same issue with several of my servers on debian 8.
@shihuazhang Any ETA on resolving this, as I am receiving false compliance issue warnings for my machines running ubuntu
Hi @shihuazhang any update made so far? Still getting same issue with Oracle Linux 7.
Please send a feedback. Thanks
I think this issue has been fixed in 529edef5a635caa1e8e595a0b079fafa705b3821, released as 2.3.871.0.
@CheyiLin Yes, it's been fixed, I forgot to update this thread.
Thanks
Most helpful comment
I think this issue has been fixed in 529edef5a635caa1e8e595a0b079fafa705b3821, released as
2.3.871.0.