Skip to Main Content
Implementing AWS: Design, Build, and Manage your Infrastructure
book

Implementing AWS: Design, Build, and Manage your Infrastructure

by Yohan Wadia, Rowan Udell, Lucas Chan, Udita Gupta
January 2019
Intermediate to advanced content levelIntermediate to advanced
690 pages
16h
English
Packt Publishing
Content preview from Implementing AWS: Design, Build, and Manage your Infrastructure

Environment variables

Environment variables are special key value pairs that you can use to configure your function code or set some variable values dynamically. In simple terms, environment variables is an awesome mechanism to make your Lambda function reusable across different environments as now you don't have to make alterations to your application code each time a particular variable has to be changed.

For example, by declaring your database string as an environment variable, you can now use the exact same Lambda function for development, QA, or production environments by simply making the necessary connection string changes in the environment variable itself.

And to make things more interesting, environment variables can be leveraged ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

AWS Account Setup Best Practices

AWS Account Setup Best Practices

Chad Smith
AWS Administration Cookbook

AWS Administration Cookbook

Rowan Udell, Lucas Chan

Publisher Resources

ISBN: 9781788835770OtherErrata Page