I'm trying to deploy Functionbeat lambda in AWS with a custom name. If I deploy it with the default name, cloudwatch, it works successfully but if I change the default name to any other name, once deployed it doesn't work, it fails with the following error:
fork/exec /var/task/functionbeat-aws: no such file or directory: PathError null
This is a snippet of the configuration file (the value of the name field is the one that i'm trying to change):
functionbeat.provider.aws.functions:
# Define the list of function availables, each function required to have a unique name.
# Create a function that accepts events coming from cloudwatchlogs.
- name: cloudwatch
enabled: true
type: cloudwatch_logs
¿How can I change the name of the lambda function? Suggestions are well appreciated : )
Regards,