amplify-education / serverless-log-forwarding

Serverless plugin for forwarding CloudWatch logs to another Lambda function.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deploying to stage specified in command line

Sonictrio opened this issue · comments

commented

Hey there,

I'm trying to pass the stage via command line when deploying the serverless project with the log-forwarder plugin.

serverless deploy --stage [stagename]

When it deploys it uses the stage specified under the provider section in the serverless.yml and ignores the option.

Any direction on how this change can be implemented, I'll happily help. Thanks!

commented

I've raised a pul request. Hope this is of help. :)

#6