Uploading a folder to S3 bucket

Am getting this error below when i am trying to cp a file to S3.

upload failed: ./test.txt to s3://bucket-olamurphy-integration-06/test.txt Parameter validation failed:

31Invalid bucket name “s3:”: Bucket name must match the regex “[1]{1,255}$” or be an ARN matching the regex “^arn:(aws).:(s3|s3-object-lambda):[a-z-0-9]:[0-9]{12}:accesspoint[/:][a-zA-Z0-9-.]{1,63}$|^arn:(aws).*:s3-outposts:[a-z-0-9]+:[0-9]{12}:outpost[/:][a-zA-Z0-9-]{1,63}[/:]accesspoint[/:][a-zA-Z0-9-]{1,63}$”

33


  1. a-zA-Z0-9.-_ ↩︎