# AWS Beanstalk deployment failing - missing bucket\_name

**URL:** <https://travis-ci.community/t/aws-beanstalk-deployment-failing-missing-bucket-name/5981>\
**Category:** Deployment\
**Tags:** bug\
**Created:** [November 16, 2019, 12:52am UTC](https://travis-ci.community/t/aws-beanstalk-deployment-failing-missing-bucket-name/5981 "2019-11-16T00:52:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![p00gz](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/p00gz/32/3154_2.png) [@p00gz](https://travis-ci.community/u/p00gz)\
**Post date:** [November 16, 2019, 12:52am UTC](https://travis-ci.community/t/aws-beanstalk-deployment-failing-missing-bucket-name/5981/1 "2019-11-16T00:52:54Z")

</div>

Within the last few days Travis deployments to AWS Beanstalk have been failing with a persistent _missing bucket\_name_ error. The bucket\_name property is provided in the .travis.yml file and is correct in regards to the AWS details.  
I have noticed that in the “View Config” link next the builds logs, the actual build file that is generated from the script and sent to AWS is wrong.  
[https://travis-ci.org/p00gz/frontend/jobs/612649299/config](https://travis-ci.org/p00gz/frontend/jobs/612649299/config)  
It is actually showing a bucket property, instead of a bucket\_name property. I have checked previous builds and the file shows the correct bucket\_name property.  
Has something changed in regards to this setup? Or is this a regression?

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [November 16, 2019, 7:54pm UTC](https://travis-ci.community/t/aws-beanstalk-deployment-failing-missing-bucket-name/5981/2 "2019-11-16T19:54:31Z")

</div>

> [@GitHub pages deployment fails with "missing github\_token"](https://travis-ci.community/t/github-pages-deployment-fails-with-missing-github-token/5955/3):
>
> This is a bug in build config validation – it breaks configs for some v1 deployers. Disable build config validation or [opt in for dpl v2](https://docs.travis-ci.com/user/deployment-v2) which does work with the “fixed” config.

---

<div class="post-metadata">

**Author:** ![p00gz](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/p00gz/32/3154_2.png) [@p00gz](https://travis-ci.community/u/p00gz)\
**Post date:** [November 19, 2019, 1:33am UTC](https://travis-ci.community/t/aws-beanstalk-deployment-failing-missing-bucket-name/5981/3 "2019-11-19T01:33:01Z")

</div>

Thank you!
