Skip to content

Commit

Permalink
Disable aws ec2 metadata (#586)
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-khimov committed Jul 19, 2023
2 parents 79bf071 + ed80ed1 commit 2ad7951
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pytest_tests/helpers/aws_cli_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class AwsCliClient:

def __init__(self, s3gate_endpoint) -> None:
self.s3gate_endpoint = s3gate_endpoint
os.environ['AWS_EC2_METADATA_DISABLED'] = 'true'

def create_bucket(
self,
Expand Down

0 comments on commit 2ad7951

Please sign in to comment.