You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 12, 2021. It is now read-only.
I am trying to sync entire local directory to S3 bucket which is in ap-south-1 , if the bucket is in other region .. syncing a directory is working as expected . in the ap-south-1 region also My code is not throwing any error , it is coming with grace full exit . but the folder is not getting synced / uploaded to S3 . below given my code . Please help me out to solve this . Any help will be greatly appreciated .
Hi ,
I am trying to sync entire local directory to S3 bucket which is in ap-south-1 , if the bucket is in other region .. syncing a directory is working as expected . in the ap-south-1 region also My code is not throwing any error , it is coming with grace full exit . but the folder is not getting synced / uploaded to S3 . below given my code . Please help me out to solve this . Any help will be greatly appreciated .
const AWS = require('aws-sdk');
const s3 = require('s3');
const awsS3Client = new AWS.S3( {
accessKeyId: accessKeyId,
secretAccessKey: secretAccessKey,
region: 'ap-south-1',
signatureVersion: 'v4'
});
const client = s3.createClient({
s3Client: awsS3Client
} );
var params = {
localDir: './' + local1
deleteRemoved: false, // default false, whether to remove s3 objects
// that have no corresponding local file.
The text was updated successfully, but these errors were encountered: