Skip to content

jonasvinther/hashistack-aws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hashistack AWS

Table of Contents

About

This project is inspiret by the two HashiCorp projects terraform-aws-nomad and terraform-aws-consul. I wanted to learn more about how to setup and configure Nomad and Consul on AWS using Terraform in a production grade environment.

How to use

Getting started

Make a copy of terraform.tfvars.example and rename it to terraform.tfvars.

Fill out the two AWS variables aws_access_key_id and aws_secret_access_key with your personal AWS keys.

Create and update the cluster

The first time you run the project you need to initialize the Terraform working directory.

terraform init

For creating and updating the cluster use the following commands:

# Generates the Terraform execution plan. Verify that everything looks ok
terraform plan

# Apply the Terraform configuration to AWS
terraform apply --auto-aprove

Destroy the cluster

To destroy the cluster simply run the following command. This will clean up all the Terraform managed infrastructure on AWS.

terraform destroy --auto-aprove

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published