First, the AWS CLI must be installed. Detailed steps are documented at Installing, updating, and uninstalling the AWS CLI version 2 on Linux.
Once the CLI is installed, add the location of the CLI to the /etc/default/LifeKeeper file.
- Check the location of aws CLI.
- Update /etc/default/LifeKeeper to include this location in the PATH.
Thanks for your feedback.