Lambda Alias don't use "General configuration"



When running the general lambda functions with a query, it works fine. However, the signal gets killed when running the same query with an alias version of the lambda functions. The "General configuration" isn't used for the alias, and the default time and memory are used. Is there a way to make the alias use the "General configuration", or is there a way to allocate more memory and time for the alias?

best regards, Markus Ekvall

asked 2 years ago392 views
1 Answer

I am not sure what you mean by:

  • running function with a query
  • signal gets killed
  • general configuration

However, I will try to answer what I think you mean. An alias is just a pointer to a specific function version. Each function version has its own code and configuration. Once a version is created, it is immutable, i.e., it can't be changed. If you need different configuration for a version, make the configuration changes and then publish the new version. Then you can point the alias to the new version and the new config will be used.

profile pictureAWS
answered 2 years ago
profile picture
reviewed 4 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions