Ravi Sir's Cards › AWS
Versions and aliases
This revision card explains Versions and aliases. It starts from the need that testing must not change production. It describes publish-version freezes code. An alias points to a version. The how-to section notes change settings with update-function-configuration. An example on the card is watch logs with aws logs tail /aws/lambda/NAME.
Read card text
What this card says
Why do we need it?
Testing must not change production.
What is it?
publish-version freezes code. An alias points to a version.
create-alias --name prod
How to do it
Change settings with update-function-configuration.
--environment
Example
Watch logs with aws logs tail /aws/lambda/NAME.
--follow