Skip to content

Commit

Permalink
Remove USE_AWS_VARS
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahStapp committed Aug 29, 2023
1 parent a1b3a08 commit 55819d1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .evergreen/auth_aws/aws_tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,11 @@
AWS_ACCOUNT_ARN = "arn:aws:sts::557821124784:assumed-role/evergreen_task_hosts_instance_role_production/*"
_USE_AWS_SECRETS = False

if "USE_AWS_SECRETS" not in os.environ:
print("Using aws_e2e_setup.json")
try:
with open(os.path.join(HERE, 'aws_e2e_setup.json')) as fid:
CONFIG = json.load(fid)
else:
except FileNotFoundError:
_USE_AWS_SECRETS = True
print("Using os.environ")
CONFIG = os.environ


Expand Down

0 comments on commit 55819d1

Please sign in to comment.