Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove function version from ARN #16

Merged
merged 1 commit into from
Feb 13, 2018
Merged

Remove function version from ARN #16

merged 1 commit into from
Feb 13, 2018

Conversation

alexdebrie
Copy link
Contributor

When we register a function with the Event Gateway, it's using an ARN with a function version at the end. This causes a problem with the Framework's sls logs command, as it looks for log streams with [$LATEST] in the stream name. When you invoke a particular version of a Lambda function, it includes the version in the stream name rather than [$LATEST].

ARN examples:

Previous: arn:aws:lambda:us-east-1:488110005556:function:eg-example-basic-dev-hello:18

Now: arn:aws:lambda:us-east-1:488110005556:function:eg-example-basic-dev-hello

@mthenw mthenw merged commit bb677c7 into master Feb 13, 2018
@mthenw mthenw deleted the UseLatestVersion branch February 13, 2018 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants