concourse-up icon indicating copy to clipboard operation
concourse-up copied to clipboard

Improve error message when S3 bucket name is taken

Open crea1 opened this issue 7 years ago • 3 comments

Was struggling for a while with running concourse-up deploy <projectname>. And got stuck with this error message.

Forbidden: Forbidden
	status code: 403, request id: 1234567890123456

After alot of headscratching we found out this was because the S3 bucket name was already taken. It looks like the bucket name is constructed like this.

concourse-up-<projectname>-<region>-blobstore
concourse-up-<projectname>-<region>-config

Probably a lot of people will try to use "ci" or something similar as project name and get the same error as I did. A better error message would've saved me some time on debugging.

Cheers, Marius

crea1 avatar Jan 23 '18 08:01 crea1

Duplicate of https://github.com/EngineerBetter/concourse-up/issues/17 but thanks for the extra details.

karlkfi avatar Apr 09 '18 22:04 karlkfi

Hi. I agree that kind of error is completely unhelpful, and that it'd be better if we presented something a bit more informative when there are AWS errors.

I've added a story to our Icebox, which will be considered by the PM in due course.

will-gant avatar Jun 07 '18 15:06 will-gant

~~I'm also getting a 403 but must be a different reason, as I don't have any s3 buckets yet. How can I debug this further?~~

Forbidden: Forbidden
	status code: 403, request id: 0716BC31FDCF4F05, host id: ciP7058tk3s8XYKGSor69G8Olv8W8XGUGGkqeTB+dX4Io0TCRnxrT5ROtIxkefMGobp876n6mJI=

edit: oh, s3 bucket names have to be unique across all AWS users...

vanjan avatar Aug 20 '18 10:08 vanjan