Closed ckamps closed 2 years ago
Since the latest versions of Amazon Linux 2 and Amazon Linux AMIs synchronize with the Amazon Time Sync Service by default, there's likely no need for the stack to install and configure ntp
.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/set-time.html
Latest commit resolves this issue by removing installation and start up of ntpd
. https://github.com/aws-samples/vpn-gateway-strongswan/commit/6c1caab6cb53c383ace6e4cc834d2c1e27ef924a
I encountered this condition during a stack deployment attempt, but have not encountered it again.
First boot configuration fails via a CloudFormation event:
Digging into
cfn-init.log
shows the cause of the stack creation failure, but it's unclear as to what caused ntpd to fail to restart. Requires further investigation.