Get Hands-on with Amazon EKS - Workshop Event Series
Whether you're taking your first steps with Kubernetes or you're an experienced practitioner looking to sharpen your skills, our Amazon EKS workshop series delivers practical, real-world experience that moves you forward. Learn directly from AWS solutions architects and EKS specialists through hands-on sessions designed to build your confidence with Kubernetes. Register now and start building with Amazon EKS!
Can I change the environment variables in a published version of my Lambda function?
2 minute read
0
I want to change the environment variables in a published version of my AWS Lambda function. Can I do that?
To change the environment variables of a published Lambda function version, you must first change the current, unpublished function version ($LATEST). Then, publish a new function version.
Note: Consider creating a Lambda alias to point to a function version that's configured with the environment variables that you want to use. Using aliases allows you to avoid hard-coding a specific function version into your app.