diff --git a/tasks/restore b/tasks/restore index aa1eba6..f495467 100755 --- a/tasks/restore +++ b/tasks/restore @@ -82,12 +82,12 @@ if [ "${VP_DYNAMODB_REGION}" == "${default_dynamodb_region}" ]; then echo "Restoring the $dynamodb_table_name table on a local DynamoDB instance..." VP_AUTO_INIT=false ${DIR}/init local_dynamodb_port=$(docker inspect --format='{{(index (index .NetworkSettings.Ports "8000/tcp") 0).HostPort}}' ${VP_NAMESPACE}-dynamodb) - docker run --rm -i --network ${VP_NAMESPACE} -u $(id -u):$(id -g) -v ${snapshot_path}:${snapshot_path} mattsurabian/dynamodump:1.1.1 sh -s <