On ElasticCloud hosted ElasticSearch, 'bucket <xxx> already exist and you don't have permission to access it'

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:
  • add_host_metadata: ~
  • add_cloud_metadata: ~

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