context
The context built-in property provides information about the user evaluting an ESC environment.
Properties
| Property | Type | Description | 
|---|---|---|
| pulumi | PulumiContext | Information about the Pulumi user that requested evaluation | 
PulumiContext
| Property | Type | Description | 
|---|---|---|
| user | UserOrOrgInfo | Information about the user | 
| organization | UserOrOrgInfo | Information about the user’s organization | 
UserOrOrgInfo
| Property | Type | Description | 
|---|---|---|
| login | string | The name of the user or organization | 
Example
values:
  greeting: Hello, ${context.pulumi.organization.login}/${context.pulumi.user.login}!
Evaluated result
{
  "greeting": "Hello, org/user!"
}
Thank you for your feedback!
If you have a question about how to use Pulumi, reach out in Community Slack.
Open an issue on GitHub to report a problem or suggest an improvement.
