AWS Cli sync with non DNS compatible bucket

后端 未结 1 1344
闹比i
闹比i 2021-01-19 23:21

Is there any way to use AWS command line to sync a local folder with a bucket that contains periods \'.\'?

If I do this:

aws s3 sync local_folder/ s3         


        
相关标签:
1条回答
  • 2021-01-19 23:44

    It seems I found the problem.

    use_accelerate_endpoint = true
    

    Transfer acceleration is not supported for buckets with periods (.) in their names: Amazon S3 Transfer Acceleration.

    This means that use_accelerate_endpoint must be removed or set to false. Otherwise, it won't work and will throw that error, making you think it can work with the right settings, when in fact you need to remove the flag.

    0 讨论(0)
提交回复
热议问题