A company is writing a Lambda function that will run in multiple stages, such as dev, test, and production. The function is dependent upon several external services, and it must call different endpoints for these services based on the function's deployment stage.
What Lambda feature will enable the developer to ensure that the code references the correct endpoints when running in each stage?

Respuesta :

Lanuel

Answer:

Environment Variables.

Explanation:

Environment Variables is a Lambda function which will enable the developer to ensure that the code references the correct endpoints when running in each stage.

It allows the Lambda function to be used to point to the different

services by creating different environment variables.

ACCESS MORE