Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
arianvp committed Nov 24, 2023
1 parent fb85b20 commit cb045db
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions upload_ami/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ def upload_ami(nix_store_path, s3_bucket, regions):
image_ids = {}

def copy_image(image_id, image_name, source_region, target_region):
client_token = hashlib.sha256(
(image_id + source_region + target_region + image_name).encode()
).hexdigest()
ec2r = boto3.client("ec2", region_name=target_region)
logging.info(
f"Copying image {image_id} from {source_region} to {target_region}"
Expand Down

0 comments on commit cb045db

Please sign in to comment.