diff --git a/scripts/run_local-code_local-input_s3-output_s3-work_s3.sh b/scripts/run_local-code_local-input_s3-output_s3-work_s3.sh index dc886a6..6d3d5b1 100755 --- a/scripts/run_local-code_local-input_s3-output_s3-work_s3.sh +++ b/scripts/run_local-code_local-input_s3-output_s3-work_s3.sh @@ -19,10 +19,9 @@ aws s3 rm $TMPOUT --recursive [ -d "$OUT" ] && rm -r "$OUT" # create config -cat > $NXF_CONFIG < $NXF_CONFIG <<'EOF' fusion { enabled = true - exportStorageCredentials = true } wave { @@ -30,7 +29,7 @@ wave { } docker { - runOptions = '-e AWS_PROFILE=$AWS_PROFILE' + runOptions = '-v $HOME/.aws/credentials:/credentials -e AWS_SHARED_CREDENTIALS_FILE=/credentials -e AWS_PROFILE=$AWS_PROFILE' } EOF diff --git a/scripts/run_local-code_remote-input_s3-output_s3-work_s3.sh b/scripts/run_local-code_remote-input_s3-output_s3-work_s3.sh index ef3266a..30e51ab 100755 --- a/scripts/run_local-code_remote-input_s3-output_s3-work_s3.sh +++ b/scripts/run_local-code_remote-input_s3-output_s3-work_s3.sh @@ -22,7 +22,6 @@ aws s3 rm $TMPOUT --recursive cat > $NXF_CONFIG <