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

imports

The imports built-in property provides access to imported environments. This allows the selective use of values from imported environments, including those that are imported without participating in the merge stack.

Properties

PropertyTypeDescription
importanyThe imported environment to access

Example

imports:
  - app/dev: { merge: false }
values:
  other: Hello, ${imports["app/dev"].name}!
Copy

Evaluated result

{
  "greeting": "Hello, My App!"
}
Copy

Was this page helpful?