Skip to content

Commit 13be076

Browse files
authored
Couple of Deployments pre-run command clarifications (#15577)
* Clarify pre-run commands are in own shell * Add note about persisting env vars
1 parent e835410 commit 13be076

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/docs/pulumi-cloud/deployments/using/settings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ For more information on customer-managed agents, see the [Customer Managed Agent
5555

5656
## Pre-Run Commands
5757

58-
Pre-run commands allow you to execute arbitrary shell commands before the deployment process starts. This is useful for environment setup, authentication with private package repositories, or other preparatory work.
58+
Pre-run commands allow you to execute arbitrary shell commands before the deployment process starts. This is useful for environment setup, authentication with private package repositories, or other preparatory work. Note that each line of your pre-run command runs in a separate shell.
5959

6060
For example, you might use pre-run commands to:
6161

6262
- Install additional dependencies
6363
- Configure authentication for private repositories
6464
- Generate configuration files
65-
- Set up environment variables
65+
- Set up environment variables - see [PULUMI_ENV](#pulumi_env) if you need to persist these to your Pulumi program.
6666

6767
Pre-run commands can be configured through the UI, REST API, or as code with the Pulumi Cloud provider.
6868

0 commit comments

Comments
 (0)