'AWS Distributor Package "TrendMicro-CloudOne-WorkloadSecurity" not working with linux

I am trying to use Trend Micro to manage EC2 instances. In particular I am using the "TrendMicro-CloudOne-WorkloadSecurity" Distributor package. This seems to work fine for Windows instances, however, for me it doesn't work for Linux instances, for example the Amazon Linux 2. I can confirm that the instance role has sufficient permissions as well as all the ports open for testing purposes. I upgraded the SSM agent on the instance to the latest version in case.

I get the following error:

update errors: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 56 100 56 0 0 9925 0 --:--:-- --:--:-- --:--:-- 11200 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 476 100 476 0 0 100k 0 --:--:-- --:--:-- --:--:-- 116k /tmp/PlatformDetection: line 1: html: No such file or directory /tmp/PlatformDetection: line 2: syntax error near unexpected token <' /tmp/PlatformDetection: line 2: 301 Moved Permanently ' failed to run commands: exit status 2 Failed to install package; install status Failed

Any help is appreciated. Thanks in advance!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source