File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -150,14 +150,24 @@ def download_data(prefix, reaches_of_interest):
150150 )
151151 logging .info ("Uploaded %s to %s/continent-setfinder.json" , cont_setfinder , json_bucket )
152152
153- cont_setfinder = EFS_DIR_INPUT .joinpath ("continent.json" )
153+
154+ continent = EFS_DIR_INPUT .joinpath ("continent.json" )
154155 S3 .download_file (
155156 config_bucket ,
156157 "continent.json" ,
157- cont_setfinder
158+ continent
158159 )
159- logging .info ("Downloaded %s/continent.json to %s" , config_bucket , cont_setfinder )
160-
160+ logging .info ("Downloaded %s/continent.json to %s" , config_bucket , continent )
161+ S3 .upload_file (
162+ continent ,
163+ json_bucket ,
164+ "continent.json" ,
165+ ExtraArgs = {
166+ "ServerSideEncryption" : "aws:kms"
167+ }
168+ )
169+ logging .info ("Uploaded %s to %s/continent.json" , continent , json_bucket )
170+
161171
162172 if not SWORD_PATCHES .exists ():
163173 S3 .download_file (
You can’t perform that action at this time.
0 commit comments