1. Arpio Documentation
  2. Reference Guides
  3. Arpio Configuration Tag Reference

arpio-config:application:environment:

Set or override environment variables inside recovered Elastic Beanstalk environments

arpio-config:application:environment:<env-var> = <value>

<env-var>

The name of an environment variable to set in the Elastic Beanstalk Environment's aws:elasticbeanstalk:application:environment option setting when the environment is recovered. This part can contain any characters that are valid in tag keys for the tagged resource, including the colon character.

<value>

The value to use for <env-var> when the Elastic Beanstalk Environment is recovered.

Supported Resources

  • Elastic Beanstalk Environment

Description

You can use the arpio-config:application:environment: configuration tag to set or override environment variables inside recovered Environment Beanstalk Environments. If <env-var> is the name of an environment variable that is present in the option settings in the primary environment, <value> will be used in the recovery environment instead of its original value. If <env-var> is not set in the option settings in the primary environment, it will be added to the environment variables in the recovery environment.

This tag can be used to replace environment-specific values such as S3 bucket names or paths to configuration files with values appropriate for the recovery region.

Examples

Tag Value
arpio-config:application:environment:DEPARTMENT
marketing
arpio-config:application:environment:ansible:role
db
arpio-config:application:environment:app-config-bucket
mycompany-app-config-dr
arpio-config:application:environment:protected
none