1. Docs
  2. Pulumi ESC
  3. Environment Definition Reference
  4. Built-in Properties
  5. environments

environments

    The environments built-in property provides access to other environments within the same organization. This allows the selective use of values from other environments without explicitly importing those environments.

    Properties

    PropertyTypeDescription
    projectESCProjectThe project that contains the environment to access

    ESCProject

    PropertyTypeDescription
    environmentanyThe environment to access

    Example

    values:
      other: Hello, ${environments.app.dev.name}!
    

    Evaluated result

    {
      "greeting": "Hello, My App!"
    }
    
      PulumiUP May 6, 2025. Register Now.