Magento 2.1.18 is the final 2.1.x release. After June 2019, Magento 2.1.x will no longer receive security patches, quality fixes, or documentation updates.
To maintain your site's performance, security, and PCI compliance, upgrade to the latest version of Magento.

Environment variables

Magento Commerce Cloud enables you to assign environment variables to override configuration options:

  • ADMIN—variables override project ADMIN variables
  • Global—variables affect each stage
  • Build—variables control build actions
  • Cloud—variables specific to Magento Commerce Cloud
  • Deploy—variables control deploy actions
  • Post-deploy—variables control actions after deploy

Variables are hierarchical, which means that if a variable is not overridden, it is inherited from the parent environment.

You can set ADMIN variables from the Project Web interface or using the Magento CLI. You can manage other environment variables from the .magento.env.yaml file to manage build and deploy actions across all of your environments—including Pro Staging and Production—without requiring a support ticket.

Updated