From 5fbbe6fe94d87aa917fdee22ff7e5f339d7c9eb9 Mon Sep 17 00:00:00 2001 From: Josh Kodroff Date: Mon, 7 Nov 2016 14:52:33 -0500 Subject: [PATCH] Update README.md (#2479) --- terraform/aws/README.md | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/terraform/aws/README.md b/terraform/aws/README.md index d4f9986fb..2d437ec4b 100644 --- a/terraform/aws/README.md +++ b/terraform/aws/README.md @@ -1,19 +1,26 @@ ## Running the aws templates to set up a consul cluster -The platform variable defines the target OS, default is ubuntu, rhel6 is an option +The platform variable defines the target OS (which in turn controls whether we install the Consul service via `systemd` or `upstart`). Options include: + +- `ubuntu` (default) +- `rhel6` +- `rhel7` +- `centos6` +- `centos7` + 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 +To set up ubuntu based, run the following command, taking care to replace `key_name` and `key_path` with actual values: -terraform apply -var 'key_name=consul' -var 'key_path=/Users/xyz/consul.pem' +`terraform apply -var 'key_name=consul' -var 'key_path=/Users/xyz/consul.pem'` -or +or -terraform apply -var 'key_name=consul' -var 'key_path=/Users/xyz/consul.pem' -var 'platform=ubuntu' +`terraform apply -var 'key_name=consul' -var 'key_path=/Users/xyz/consul.pem' -var 'platform=ubuntu'` -To run rhel6, run like below +For CentOS7: -terraform apply -var 'key_name=consul' -var 'key_path=/Users/xyz/consul.pem' -var 'platform=rhel6' +`terraform apply -var 'key_name=consul' -var 'key_path=/Users/xyz/consul.pem' -var 'platform=centos7'` -For centos6 platform, for the default AMI, you need to accept the AWS market place terms and conditions. When you launch first time, you will get an error with an URL to accept the terms and conditions. \ No newline at end of file +For centos6 platform, for the default AMI, you need to accept the AWS market place terms and conditions. When you launch first time, you will get an error with an URL to accept the terms and conditions.