This commit is contained in:
didier committed 2024-10-27 08:49:38 -04:00
1 parent 7a249c596a
commit dbdd9034c9
5 files changed
+34 -11

No files matched your search

+2 -3
View File
@@ -29,15 +29,14 @@ def main(file, bucket_name):
cmd = [
'gsutil', 'cp', file, s3_loc
]
check_call(cmd)
print(" ".join([str(s) for s in cmd]))
# return
cmd = [
'gcloud', 'compute','images','create', img_id,
'--source-uri', s3_loc, '--family', img_family
]
# check_call(cmd)
# print(' '.join(cmd))
# return
cmd = [
'gcloud', 'compute', 'images', 'add-iam-policy-binding',