From ba807301bfe66bf3755680f153b36ab061eb8df1 Mon Sep 17 00:00:00 2001 From: Scott Seago Date: Mon, 24 Jun 2019 17:26:11 -0400 Subject: [PATCH] Added README note about ~/.aws/credentials --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 407654e..1bfd25e 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,12 @@ This repo provides some ansible to bring up an Origin cluster of the specified v * AWS_ACCESS_KEY_ID * AWS_SECRET_ACCESS_KEY * AWS_REGION + * For EC2, as an alternative to setting AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY in the shell environment, they can be put into `~/.aws/credentials` as follows (leaving AWS_REGION as an environment variable): + ``` + [default] + aws_access_key_id= + aws_secret_access_key= + ``` * For EC2 ensure your private key exists at the location referenced by ec2_private_key_file in config.yml * Run `ansible-playbook deploy.yml`