From 49c7760afa8135075ad84293eed2e14bbbce7672 Mon Sep 17 00:00:00 2001 From: "Conor.McManus" Date: Mon, 15 Apr 2019 16:38:32 +0200 Subject: [PATCH] Bug fix for templatingnot working --- atmos.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/atmos.py b/atmos.py index 68d13e7..f95cf20 100755 --- a/atmos.py +++ b/atmos.py @@ -39,8 +39,8 @@ def generate_creds(): contents = "" for workspace in workspaces: contents = contents + "[{workspace}]\n".format(workspace=workspace) - contents = contents + "access_key_id=" + os.environ.get(workspace.upper() + '_ACCESS_KEY_ID') + "\n" - contents = contents + "secret_access_key=" + os.environ.get(workspace.upper() + '_SECRET_ACCESS_KEY') + "\n" + contents = contents + "aws_access_key_id=" + os.environ.get(workspace.upper() + '_ACCESS_KEY_ID') + "\n" + contents = contents + "aws_secret_access_key=" + os.environ.get(workspace.upper() + '_SECRET_ACCESS_KEY') + "\n" with open(os.path.expanduser('~/.aws/credentials'), 'w+') as f: f.write(contents)