serverless-aws-alias icon indicating copy to clipboard operation
serverless-aws-alias copied to clipboard

CloudWatchLog event not being assigned to alias

Open uladkasach opened this issue 7 years ago • 0 comments
trafficstars

Currently the CloudWatchLog event is not being assigned to the alias of the function, but is being appended the the unqualified function always. This event type is defined here: https://serverless.com/framework/docs/providers/aws/events/cloudwatch-log/

For example, running serverless deploy --alias with the following configuration included:

functions:
  myCloudWatchLog:
    handler: myCloudWatchLog.handler
    events:
      - cloudwatchLog: '/aws/lambda/hello'

Results in the CloudWatchLog trigger being assigned to the unqualified function in AWS.

Are there any plans to support adding this to the list of events this plugin attaches to an alias?

uladkasach avatar Aug 23 '18 21:08 uladkasach