open-nomad/e2e/terraform/shared
Tim Gross ba7e7413ef
e2e: refactor Nomad configuration (#6560)
Share base configuration for telemetry and consul. Have the server
configurations respect the `var.server_count` config. Make changes
recommended by `shellcheck` in the provisioning scripts for this section.

Switch to OS/arch-tagged release bundles on S3 for compatibility with
adding Windows builds in the near future.
2019-10-28 08:21:02 -04:00
..
config e2e: refactor Nomad configuration (#6560) 2019-10-28 08:21:02 -04:00
nomad e2e: refactor Nomad configuration (#6560) 2019-10-28 08:21:02 -04:00
vault e2e: refactor Vault configuration (#6561) 2019-10-25 15:29:01 -04:00
README.md e2e: split Packer build scripts from TF provisioning (#6542) 2019-10-25 08:08:24 -04:00

Terraform Provisioning

These scripts are copied up to instances via Terraform provisioning and executed after launch. This allows us to update the Nomad configurations for features that land on master without having to re-bake AMIs.

What goes here?

  • steps that are specific to a given Nomad build: ex. all Nomad configuration files.
  • steps that are specific to a given EC2 instance: configuring IP addresses.

These scripts should be idempotent: copy configurations from /ops/shared to their destinations where the services expect them to be, rather than moving them.