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

context

    The context built-in proeprty provides information about the user evaluting an ESC environment.

    Properties

    PropertyTypeDescription
    pulumiPulumiContextInformation about the Pulumi user that requested evaluation

    PulumiContext

    PropertyTypeDescription
    userUserOrOrgInfoInformation about the user
    organizationUserOrOrgInfoInformation about the user’s organization

    UserOrOrgInfo

    PropertyTypeDescription
    loginstringThe name of the user or organization

    Example

    values:
      greeting: Hello, ${context.pulumi.organization.login}/${context.pulumi.user.login}!
    

    Evaluated result

    {
      "greeting": "Hello, org/user!"
    }
    
      PulumiUP May 6, 2025. Register Now.