AWS Lambda function to manage AWS EC2 instances as Zabbix hosts.
Install zabbix-api
as a dependency as described here.
Set the environment variables in AWS Console as described here.
ZBX_SERVER_URL="<Zabbix server URL>"
ZBX_LOGIN_USER="<Zabbix server login user>"
ZBX_LOGIN_PASSWORD="<Zabbix server login password>"
ZBX_VALIDATE_CERTS="<Validate Zabbix server SSL certificates>"