happy-randomizer-terraform

This repository is an extension of the Happy Randomizer, to deploy the application on Triton with Terraform.

Prerequisites

  1. Sign up for a Triton account.
  2. Create the Happy Randomizer images. The Packer configuration file is already included in the GitHub repo and if unmodified, it will create an image named happy_randomizer version 1.0.0.
    • Read more instructions on how to create images with Packer, you're in luck.
    • You'll need version 1.0 and version 1.1 of the Happy Randomizer. Details are in the repository's README.
  3. Once the images have been deployed, fork this repository.
    • The files refer to the images already deployed to Triton and do not require the local application.

Modifying the variables

Replace the following variables in variables.tf with your information:

variable "triton_account" {
    default = "<username>"
}

variable "triton_key_id" {
    default = "<fingerprint>"
}

variable "dc_name" {
    default = "<dc_name>"
}

Additional resources