When attempting to deploy a SQS function with functionbeat, I get the following error:
'Function: sqs, could not deploy, error: bucket 'mybucket' already exist and you don't have permission to access it'
Using the AWS CLI I have confirmed I can access this bucket and send files to it.
functionbeat.yml:
functionbeat.provider.aws.deploy_bucket: "mybucket"
functionbeat.provider.aws.functions:
- name: sqs
enabled: true
type: sqs
description: "lambda function for SQS events"
triggers:- event_source_arn: myarn
setup.template.settings:
index.number_of_shards: 1
setup.kibana:
cloud.id: "mycloudid"
cloud.auth: "myuser:mypw"
output.elasticsearch:
hosts: ["localhost:9200"]
processors:
- event_source_arn: myarn
- add_host_metadata: ~
- add_cloud_metadata: ~