Files
nomad/e2e/terraform/userdata
Tim Gross 9591b2b29d e2e: prevent Ubuntu startup race conditions (#9428)
The cloud-init configuration runs on boot, which can result in a race
condition between that and service startup. This has caused provisioning
failures because Nomad expects the userdata to have configured a host volume
directory. Diagnosing this was also compounded by a warning being fired by
systemd for the Nomad unit file.

* Update the location of the `StartLimitIntervalSec` field to it's
  post-systemd-230 location.
* Ensure that the weekly AMI build is up-to-date to reduce the risk of
  unexpected system software changes.
* Move the host volume to a directory we can set up at AMI build time rather
  than in userdata.
2020-11-23 12:29:08 -05:00
..
2020-08-20 10:09:31 -04:00

userdata

These scripts are copied up to instances via Terraform provisioning and executed once on first boot by cloud-init. Userdata scripts should contain configuration specific to an instance but not configuration specific to a given deployment of Nomad.