From af28f3068e92ee8ceb1a7507cf803698056d07a0 Mon Sep 17 00:00:00 2001 From: Sathiya Shunmugasundaram Date: Mon, 1 Jun 2015 13:43:50 -0400 Subject: [PATCH] adding README --- terraform/aws/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 terraform/aws/README.md diff --git a/terraform/aws/README.md b/terraform/aws/README.md new file mode 100644 index 0000000000..441afe34c0 --- /dev/null +++ b/terraform/aws/README.md @@ -0,0 +1,17 @@ +## Running the aws templates to set up a consul cluster + +The platform variable defines the target OS, default is ubuntu, rhel6 is an option + +For AWS provider, set up your AWS environment as outlined in https://www.terraform.io/docs/providers/aws/index.html + +To set up ubuntu based, run like below, replace key_name and key_path with actual values + +terraform apply -var 'key_name=consul' -var 'key_path=/Users/xyz/consul.pem' + +or + +terraform apply -var 'key_name=consul' -var 'key_path=/Users/xyz/consul.pem' -var 'platform=ubuntu' + +To run rhel6, run like below + +terraform apply -var 'key_name=consul' -var 'key_path=/Users/xyz/consul.pem' -var 'platform=rhel6' \ No newline at end of file