Revert back to replacing default credentials due to issues with getting the correct statefile

This commit is contained in:
spengreb 2019-08-30 16:22:52 +02:00
parent 41a422e0bc
commit 052384ceec

View file

@ -98,7 +98,7 @@ def generate_creds(args):
except:
print("[ERROR]: Env Variable " + secret_key_name + " not found.")
sys.exit(1)
with open(os.path.expanduser('~/.aws/credentials-atmos'), 'w+') as f:
with open(os.path.expanduser('~/.aws/credentials'), 'w+') as f:
f.write(contents)
def get_valid_envs():