This repository is an extension of the Happy Randomizer, to deploy the application on Triton with Terraform.
- Sign up for a Triton account.
- 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.
- 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.
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>"
}
- Triton Terraform provider docs
- Triton CLI and CloudAPI documentation
- Read more tutorials on the Joyent blog