Packer template for building a clean CentOS 8 AWS AMI Example to run:
$ AWS_PROFILE=test packer build template.json
...
==> Builds finished. The artifacts of successful builds are:
--> amazon-ebssurrogate: AMIs were created:
us-east-1: ami-072af3358a766076f