Skip to content

Commit

Permalink
Revert "Disable AWS EC2 metadata"
Browse files Browse the repository at this point in the history
This reverts commit 22259bb.
  • Loading branch information
Tommel71 committed Jan 8, 2025
1 parent 22259bb commit 9e6d0d2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/graphsenselib/ingest/delta/sink.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,8 @@ def write_delta(
storage_options = {
"AWS_ALLOW_HTTP": "true",
"AWS_S3_ALLOW_UNSAFE_RENAME": "true",
# right now only works as env var
# "AWS_EC2_METADATA_DISABLED": "true",
"AWS_EC2_METADATA_DISABLED": "true", # right now only works as env var
}
os.environ["AWS_EC2_METADATA_DISABLED"] = "true"
storage_options.update(self.s3_credentials)
else:
storage_options = {}
Expand Down

0 comments on commit 9e6d0d2

Please sign in to comment.