Reputation: 997
I am using a folder in S3 bucket as the trigger to my code pipeline. Without folder with just bucket name everything works fine, but with folder it throws bucket name is not DNS compliant.
I tried to give below mentioned names:
s3://sales/north/
or
sales/north/
Does it look for only bucket name and a folder inside bucket can not be used ? Or the format in which I am proving the bucket name (with folder) is incorrect ?
Upvotes: 3
Views: 1554
Reputation: 997
I got the solution, specific to CodePipeline. So we don't need to provide the nested bucket name containing the folder name instead:
Upvotes: 1
Reputation: 17665
Mention only bucketname.. not need to add path
Additional info :-
ADD a DNS-compliant name to your bucket.
The bucket name must:
Be unique across all of Amazon S3.
Be between 3 and 63 characters long.
Not contain uppercase characters.
Start with a lowercase letter or number.
Not contain any "." in between.
Upvotes: 1