/rhel8-packer

Packer Template to build a RHEL8\CentOS8 (Based) AMI in AWS

Primary LanguageHCLApache License 2.0Apache-2.0

RHEL8 Packer

Example Packer Template to build a RHEL8\CentOS8 (Based) AMI in AWS

  • Provisions Rhel8 AMI in AWS
  • Includes Podman/Docker
  • SSM Agent, awscli etc...

Requirements

Name Version
packer ~> 1.0

Usage

Run a test build (No resulting AMI)

packer build -var "run_test_build=true" .

Run build to create an AMI

packer build .

Debug

PACKER_LOG=TRACE packer build -var "run_test_build=false" .

TODO

  • Configure to use SSM session instead of ssh for provisioning
  • Encrypt with KMS