# Unable to deploy functionbeat to s3 bucket

**URL:** https://discuss.elastic.co/t/unable-to-deploy-functionbeat-to-s3-bucket/171371
**Category:** Beats
**Tags:** functionbeat
**Created:** [March 7, 2019, 6:35pm UTC](https://discuss.elastic.co/t/unable-to-deploy-functionbeat-to-s3-bucket/171371 "2019-03-07T18:35:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Bhavani\_Ananth](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavani_ananth/32/45740_2.png) [@Bhavani\_Ananth](https://discuss.elastic.co/u/Bhavani_Ananth)
#### Post date: [March 7, 2019, 6:35pm UTC](https://discuss.elastic.co/t/unable-to-deploy-functionbeat-to-s3-bucket/171371/1 "2019-03-07T18:35:07Z")

</div>

Hello Team,  
I was experimenting with /functionbeat-7.0.0-beta1-linux-x86\_64.  
When I try to deploy I always get the error,  
2019-03-07T18:20:44.997Z DEBUG [aws.executor] aws/executor.go:46 The executor is executing '6' operations for converging state  
2019-03-07T18:20:44.997Z DEBUG [aws] aws/op\_ensure\_bucket.go:31 Verifying presence of S3 bucket: umcloudwatch  
2019-03-07T18:20:44.997Z DEBUG [aws.executor] aws/executor.go:68 The executor is rolling back previous execution, '0' operations to rollback  
2019-03-07T18:20:44.997Z DEBUG [aws.executor] aws/executor.go:81 The rollback is successful  
2019-03-07T18:20:44.997Z DEBUG [aws] aws/cli\_manager.go:269 Deploy finish for function 'cloudwatch'  
Function: cloudwatch, could not deploy, error: bucket 'umcloudwatch' already exist and you don't have permission to access it  
2019-03-07T18:20:44.997Z DEBUG [cli-handler] cmd/cli\_handler.go:64 Deploy execution ended  
Fail to deploy 1 function(s)

Tried with all permissions and in the end gave public access to the bucket.

If I give a nonexistent bucket name also, the same error with that bucket name is displayed even though there is no bucket.

This is my very simple configuration ,

functionbeat.provider.aws.deploy\_bucket: "umcloudwatch"

functionbeat.provider.aws.functions:

- name: cloudwatch  
enabled: true  
type: cloudwatch\_logs  
triggers:
  - log\_group\_name: /aws/lambda/myHelloWorld  
output.elasticsearch:  
hosts: ["localhost:9200"]

Thanks ,  
Bhavani

---

<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: [March 28, 2019, 8:42am UTC](https://discuss.elastic.co/t/unable-to-deploy-functionbeat-to-s3-bucket/171371/2 "2019-03-28T08:42:29Z")

</div>

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