We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d70a4ba commit 51c4aa4Copy full SHA for 51c4aa4
s3.sh
@@ -6,6 +6,9 @@ else
6
ENDPOINT=""
7
fi
8
9
+# see tuna/tunasync-scripts#183
10
+export AWS_EC2_METADATA_DISABLED=true
11
+
12
[[ ! -d "${TUNASYNC_WORKING_DIR}" ]] && mkdir -p "${TUNASYNC_WORKING_DIR}"
13
mkdir /tmp/none; cd /tmp/none # enter an empty folder, so the stars in TUNASYNC_AWS_OPTIONS are not expanded
14
exec aws --no-sign-request ${ENDPOINT} s3 sync --exact-timestamps ${TUNASYNC_AWS_OPTIONS} "${TUNASYNC_UPSTREAM_URL}" "${TUNASYNC_WORKING_DIR}"
0 commit comments