# Cannot deploy functionbeat 7.14.0

**URL:** <https://discuss.elastic.co/t/cannot-deploy-functionbeat-7-14-0/282217>\
**Category:** Beats\
**Tags:** functionbeat\
**Created:** [August 23, 2021, 11:59am UTC](https://discuss.elastic.co/t/cannot-deploy-functionbeat-7-14-0/282217 "2021-08-23T11:59:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sproctor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sproctor/32/91928_2.png) [@sproctor](https://discuss.elastic.co/u/sproctor)\
**Post date:** [August 23, 2021, 11:59am UTC](https://discuss.elastic.co/t/cannot-deploy-functionbeat-7-14-0/282217/1 "2021-08-23T11:59:19Z")

</div>

Did something change in the process needed to deploy functionbeat 7.14.0?

I can deploy 7.13.4 fine. If I try to deploy 7.14.0, I get the following error:

```auto
Function: st-cw-logs, could not deploy, error: bucket 'st-fb-deploy' already exist and you don't have permission to access it: MissingRegion: could not find region configuration
Fail to deploy 1 function(s)

```

After receiving that error, I can go on to deploy from `functionbeat-7.13.4-linux-x86_64` without any issues.

```auto
$ echo $AWS_DEFAULT_REGION 
us-east-1

```

---

<div class="post-metadata">

**Author:** ![BaronWhite](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/baronwhite/32/62151_2.png) [@BaronWhite](https://discuss.elastic.co/u/BaronWhite)\
**Post date:** [August 25, 2021, 12:02am UTC](https://discuss.elastic.co/t/cannot-deploy-functionbeat-7-14-0/282217/2 "2021-08-25T00:02:56Z")

</div>

I was trying to set this up and have the same problem. I will try downgrading.

---

<div class="post-metadata">

**Author:** ![sproctor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sproctor/32/91928_2.png) [@sproctor](https://discuss.elastic.co/u/sproctor)\
**Post date:** [August 25, 2021, 10:56am UTC](https://discuss.elastic.co/t/cannot-deploy-functionbeat-7-14-0/282217/3 "2021-08-25T10:56:17Z")

</div>

You don't need to downgrade anything else, just use the functionbeat version7.13.4.

---

<div class="post-metadata">

**Author:** ![BaronWhite](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/baronwhite/32/62151_2.png) [@BaronWhite](https://discuss.elastic.co/u/BaronWhite)\
**Post date:** [August 25, 2021, 2:20pm UTC](https://discuss.elastic.co/t/cannot-deploy-functionbeat-7-14-0/282217/4 "2021-08-25T14:20:57Z")

</div>

You just need to add `functionbeat.provider.aws.region: "region"` to the config.

When I tried 7.13.4 it wasn't picking up the region from env and I came across this. [Expose region in AWS configuration so Functionbeat can deploy the Lamba in the correct place by kvch · Pull Reque](https://github.com/elastic/beats/pull/26523)  
After adding that to config it works fine., documentation should be updated.

---

<div class="post-metadata">

**Author:** ![sproctor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sproctor/32/91928_2.png) [@sproctor](https://discuss.elastic.co/u/sproctor)\
**Post date:** [August 25, 2021, 10:52pm UTC](https://discuss.elastic.co/t/cannot-deploy-functionbeat-7-14-0/282217/5 "2021-08-25T22:52:16Z")

</div>

Nice catch. Thanks for sharing. Yeah, the docs should be updated along with the reference config file.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 23, 2021, 12:52am UTC](https://discuss.elastic.co/t/cannot-deploy-functionbeat-7-14-0/282217/6 "2021-09-23T00:52:29Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
