remove some commented out code
- ID
1971629- date
2022-10-31 17:43:03+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
fed968c- message
remove some commented out code- changed files
1 file, 32 deletions
Changed files
ssh_to_archivematica (2287) → ssh_to_archivematica (1682)
diff --git a/ssh_to_archivematica b/ssh_to_archivematica
index 159d2c6..651f3a4 100755
--- a/ssh_to_archivematica
+++ b/ssh_to_archivematica
@@ -56,35 +56,3 @@ scp -i ~/.ssh/wellcomedigitalworkflow \
ssh -t -i ~/.ssh/wellcomedigitalworkflow \
"ec2-user@$BASTION_HOST" \
ssh -t -i wellcomedigitalworkflow "ec2-user@$CONTAINER_HOST"
-
-# #!/usr/bin/env python3
-#
-# import sys
-#
-# import boto3
-#
-#
-# def get_environment():
-# try:
-# environment = sys.argv[1]
-# if environment not in ("prod", "staging"):
-# raise ValueError
-# except (IndexError, ValueError):
-# sys.exit(f"Usage: {__file__} <prod|staging>")
-#
-# return environment
-#
-#
-# def find_security_group_id(sess, *, environment):
-# ec2 = sess.client("ec2")
-#
-# for page in ec2.get_paginator('')
-#
-#
-# if __name__ == '__main__':
-# environment = get_environment()
-#
-# sess = boto3.Session()
-# ec2 = sess.client("ec2")
-#
-#
\ No newline at end of file