concourse-up
concourse-up copied to clipboard
Improve error message when S3 bucket name is taken
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
Duplicate of https://github.com/EngineerBetter/concourse-up/issues/17 but thanks for the extra details.
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.
~~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...