Here is a note that should be in the docs
AWS EC2 Image Builder has a script that runs for linux builds called RunSanitizeScript
This script removes a few things that the AMI builder process adds.
One of those things is the package cronie
on Amazon Linux.
If you actually want this package then you have to install it another way, maybe via User Data?