pulumi Verified current stable Not installed?

Pulumi / View Current Configuration Json

View Current Configuration Json

Use the 'pulumi config --json' command to view your current Pulumi configuration in JSON format.

$
Terminal
pulumi config -j

When To Use

Use this command to check your current Pulumi configuration settings in JSON format.

Command Builder

Tune the command before you copy it

Back to syntax
$
Generated Command
pulumi config -j

Terminal Output

Expected runtime feedback

Simulated preview
>
Output
{
  "key1": "value1",
  "key2": "value2"
}

Power User Variants

Optimized versions

pulumi config -j

Short form to view configuration in JSON.

pulumi config --json

Long form to view configuration in JSON.

Command Breakdown

What each part is doing

pulumi
Base Command
The executable that performs this operation. Here it runs Pulumi before the shell applies any redirect operators.
-j
j| json
The value supplied for j| json.
-j
Command Option
Tool-specific option used by this command invocation.

How To Run

Execution path

  1. Step 1

    Open your terminal.

  2. Step 2

    Run the command: pulumi config --json.

  3. Step 3

    Review the output for your current configuration in JSON format.

Alternative Approaches

Comparable commands in other tools

Alternative tools that share the "process-text" operation intent.