Posted On: May 29, 2015

AWS CodeDeploy now supports deployment-specific environment variables.

CodeDeploy environment variables can be accessed by deployment scripts and provide contextual information associated with the deployment such as application name, deployment group name, lifecycle event name, and deployment ID. Common use cases for environment variables include varying the application server port or the logging level based on whether the script is running in the “Staging” or “Production” deployment group. Read our blog for a walkthrough on using environment variables.

To learn more about CodeDeploy, see the AWS CodeDeploy product page.