Skip to content

Commit

Permalink
fix(integration): aws environment variable validations
Browse files Browse the repository at this point in the history
Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
  • Loading branch information
c3y1huang authored and David Ko committed Aug 24, 2023
1 parent da0eb34 commit 0108495
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manager/integration/tests/aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ def __init__(self):
assert False

secret_access_key = os.getenv("AWS_SECRET_ACCESS_KEY")
if access_key_id is None:
if secret_access_key is None:
print("AWS_SECRET_ACCESS_KEY env variable not defined")
assert False

default_region = os.getenv("AWS_DEFAULT_REGION")
if access_key_id is None:
if default_region is None:
print("AWS_DEFAULT_REGION env variable not defined")
assert False

Expand Down

0 comments on commit 0108495

Please sign in to comment.