Remove unneeded print
This commit is contained in:
parent
34b7449141
commit
7f6d282cda
1 changed files with 1 additions and 2 deletions
3
atmos.py
3
atmos.py
|
|
@ -42,8 +42,7 @@ def generate_creds():
|
||||||
contents = contents + "[{workspace}]\n".format(workspace=workspace)
|
contents = contents + "[{workspace}]\n".format(workspace=workspace)
|
||||||
contents = contents + "access_key_id=" + os.environ.get(workspace.upper() + '_ACCESS_KEY_ID') + "\n"
|
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 + "secret_access_key=" + os.environ.get(workspace.upper() + '_SECRET_ACCESS_KEY') + "\n"
|
||||||
print(contents)
|
with open(os.path.expanduser('~/.aws/credentials.atmos'), 'w+') as f:
|
||||||
with open(os.path.expanduser('~/.aws/credentials'), 'w+') as f:
|
|
||||||
f.write(contents)
|
f.write(contents)
|
||||||
|
|
||||||
def get_valid_envs():
|
def get_valid_envs():
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue