[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-pulumi-pulumi-esc":3,"mdc--teq76e-key":33,"related-repo-pulumi-pulumi-esc":2672,"related-org-pulumi-pulumi-esc":2776},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":23,"repoUrl":24,"updatedAt":25,"license":26,"forks":27,"topics":28,"repo":29,"sourceUrl":31,"mdContent":32},"pulumi-esc","manage secrets and configuration with Pulumi ESC","Guidance for working with Pulumi ESC (Environments, Secrets, and Configuration). Use when users ask about managing secrets, configuration, environments, short-term credentials, configuring OIDC for AWS, Azure, GCP, integrating with secret stores (AWS Secrets Manager, Azure Key Vault, HashiCorp Vault, 1Password), or using ESC with Pulumi stacks.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"pulumi","Pulumi","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fpulumi.png",[12,16,19,20],{"name":13,"slug":14,"type":15},"Security","security","tag",{"name":17,"slug":18,"type":15},"Configuration","configuration",{"name":9,"slug":8,"type":15},{"name":21,"slug":22,"type":15},"Infrastructure as Code","infrastructure-as-code",63,"https:\u002F\u002Fgithub.com\u002Fpulumi\u002Fagent-skills","2026-07-24T05:37:47.044405",null,4,[],{"repoUrl":24,"stars":23,"forks":27,"topics":30,"description":26},[],"https:\u002F\u002Fgithub.com\u002Fpulumi\u002Fagent-skills\u002Ftree\u002FHEAD\u002Fpulumi\u002Fskills\u002Fpulumi-esc","---\nname: pulumi-esc\ndescription: Guidance for working with Pulumi ESC (Environments, Secrets, and Configuration). Use when users ask about managing secrets, configuration, environments, short-term credentials, configuring OIDC for AWS, Azure, GCP, integrating with secret stores (AWS Secrets Manager, Azure Key Vault, HashiCorp Vault, 1Password), or using ESC with Pulumi stacks.\n---\n\n# Pulumi ESC (Environments, Secrets, and Configuration)\n\nPulumi ESC is a centralized service for managing environments, secrets, and configuration across cloud infrastructure and applications.\n\n## What is ESC?\n\nESC enables teams to:\n\n- **Centralize secrets and configuration** in one secure location\n- **Compose environments** by importing and layering configuration\n- **Generate dynamic credentials** via OIDC for AWS, Azure, GCP\n- **Integrate external secret stores** (AWS Secrets Manager, Azure Key Vault, Vault, 1Password)\n- **Version and audit** all configuration changes\n- **Control access** with fine-grained RBAC\n\n## Essential CLI Commands\n\n```bash\n# Create a new environment\npulumi env init \u003Corg>\u002F\u003Cproject-name>\u002F\u003Cenvironment-name>\n\n# Edit environment (opens in editor)\npulumi env edit \u003Corg>\u002F\u003Cproject-name>\u002F\u003Cenvironment-name>\n\n# Set values\npulumi env set \u003Corg>\u002F\u003Cproject-name>\u002F\u003Cenvironment-name> \u003Ckey> \u003Cvalue>\npulumi env set \u003Corg>\u002F\u003Cproject-name>\u002F\u003Cenvironment-name> \u003Ckey> \u003Cvalue> --secret\n\n# View definition (secrets hidden)\npulumi env get \u003Corg>\u002F\u003Cproject-name>\u002F\u003Cenvironment-name>\n\n# Open and resolve (reveals secrets)\npulumi env open \u003Corg>\u002F\u003Cproject-name>\u002F\u003Cenvironment-name>\n\n# Run command with environment\npulumi env run \u003Corg>\u002F\u003Cproject-name>\u002F\u003Cenvironment-name> -- \u003Ccommand>\n\n# Link to Pulumi stack\npulumi config env add \u003Cproject-name>\u002F\u003Cenvironment-name>\n```\n\n## Key Concepts\n\n### Command Distinctions\n\n- **`pulumi env get`**: Shows static definition, secrets appear as `[secret]`\n- **`pulumi env open`**: Resolves and reveals all values including secrets and dynamic credentials\n- **`pulumi env run`**: Executes commands with environment variables loaded\n- **`pulumi config env add`**: Only takes the \u003Cproject-name>\u002F\u003Cenvironment-name> portion\n\n### Environment Structure\n\nEnvironments are YAML documents with reserved top-level keys:\n\n- **`imports`**: Import and compose other environments\n- **`values`**: Define configuration and secrets\n\nReserved sub-keys under `values`:\n\n- **`environmentVariables`**: Map values to shell environment variables\n- **`pulumiConfig`**: Configure Pulumi stack settings\n- **`files`**: Generate files with environment data\n\n### Basic Example\n\n```yaml\nimports:\n  - common\u002Fbase-config\n\nvalues:\n  environment: production\n  region: us-west-2\n\n  dbPassword:\n    fn::secret: super-secure-password\n\n  environmentVariables:\n    AWS_REGION: ${region}\n    DB_PASSWORD: ${dbPassword}\n\n  pulumiConfig:\n    aws:region: ${region}\n    app:dbPassword: ${dbPassword}\n```\n\n### Reading Another Stack's Outputs\n\nUse the `fn::open::pulumi-stacks` provider to consume another stack's outputs. The\n`stacks` and `network` keys below are arbitrary names you choose. Once the function\nresolves, it *replaces* `stacks.network` with the named stack's outputs — so the\noutput names (`vpcId`, `subnetIds`) do not appear in the static YAML; they come from\nwhatever the producer stack exports. Two things are easy to get wrong:\n\n- The stack is named by a single project-qualified `stack: \u003Cproject>\u002F\u003CstackName>`\n  field — **not** separate `projectName`\u002F`stackName` fields.\n- Outputs resolve directly under the stack name — there is **no** `.outputs.` level\n  (use `${stacks.network.vpcId}`, not `${stacks.network.outputs.vpcId}`).\n\nExample — replace the stack name and output names with your own:\n\n```yaml\nvalues:\n  stacks:\n    fn::open::pulumi-stacks:\n      stacks:\n        network:                 # arbitrary local name for the referenced stack\n          stack: my-project\u002Fdev  # producer stack to read outputs from\n  pulumiConfig:\n    # vpcId \u002F subnetIds are whatever the producer stack exports; after the function\n    # resolves they are available directly under `stacks.network` (no `.outputs.`).\n    vpcId: ${stacks.network.vpcId}\n    subnetIds: ${stacks.network.subnetIds}\n```\n\nFull schema: https:\u002F\u002Fwww.pulumi.com\u002Fdocs\u002Fesc\u002Fproviders\u002Fpulumi-stacks\u002F\n\n### Viewing an Environment in the Pulumi Cloud Console\n\nThe console URL for an environment is\n`https:\u002F\u002Fapp.pulumi.com\u002F\u003Corg>\u002Fesc\u002F\u003Cproject>\u002F\u003Cenvironment>`. The route segment is\n`esc`, not `environments`.\n\n## Working with the User\n\n### For Simple Questions\n\nIf the user asks basic questions like \"How do I create an environment?\" or \"What's the difference between get and open?\", answer directly using the information above.\n\n### For Detailed Documentation\n\nWhen users need more information, use the web-fetch tool to get content from the official Pulumi ESC documentation:\n\n- **Complete YAML syntax and functions** → https:\u002F\u002Fwww.pulumi.com\u002Fdocs\u002Fesc\u002Fenvironments\u002Fsyntax\u002F\n- **Provider integrations** (AWS, Azure, GCP, Vault, 1Password):\n  - AWS: https:\u002F\u002Fwww.pulumi.com\u002Fdocs\u002Fesc\u002Fintegrations\u002Fdynamic-login-credentials\u002Faws-login\u002F\n  - Azure: https:\u002F\u002Fwww.pulumi.com\u002Fdocs\u002Fesc\u002Fintegrations\u002Fdynamic-login-credentials\u002Fazure-login\u002F\n  - GCP: https:\u002F\u002Fwww.pulumi.com\u002Fdocs\u002Fesc\u002Fintegrations\u002Fdynamic-login-credentials\u002Fgcp-login\u002F\n  - Short-term credential (OIDC) providers: https:\u002F\u002Fwww.pulumi.com\u002Fdocs\u002Fesc\u002Fintegrations\u002Fdynamic-login-credentials\u002F\n  - Dynamic secret providers: https:\u002F\u002Fwww.pulumi.com\u002Fdocs\u002Fesc\u002Fintegrations\u002Fdynamic-secrets\u002F\n  - Pulumi stack outputs (`fn::open::pulumi-stacks`): https:\u002F\u002Fwww.pulumi.com\u002Fdocs\u002Fesc\u002Fproviders\u002Fpulumi-stacks\u002F\n  - All providers (index): https:\u002F\u002Fwww.pulumi.com\u002Fdocs\u002Fesc\u002Fproviders\u002F\n- **Getting started guide** → https:\u002F\u002Fwww.pulumi.com\u002Fdocs\u002Fesc\u002Fget-started\u002F\n- **CLI reference** → https:\u002F\u002Fwww.pulumi.com\u002Fdocs\u002Fesc\u002Fcli\u002Fcommands\u002F\n  - Prefer using the `pulumi env` subcommands over `esc` CLI.\n\nUse the web-fetch tool with specific prompts to extract relevant information from these docs.\n\n### For Complex Tasks\n\nWhen helping users:\n\n1. **Understand the goal**: Are they setting up new environments, migrating from stack config, or debugging?\n2. **Check existing setup**: Use `pulumi env` commands to list environments or read definitions\n3. **Fetch relevant documentation**: Use the web-fetch to get specific examples or syntax from the official docs\n4. **Provide step-by-step guidance**: Walk through the process with specific commands\n5. **Validate**: Help them test with `pulumi env get` or `pulumi preview`\n  a. Only use `pulumi env open` when the full resolved values are needed, but use cautiously as it reveals secrets.\n\n### Example: Helping with AWS OIDC Setup\n\n```text\nUser: \"How do I set up AWS OIDC credentials in ESC?\"\n\n1. Use the web-fetch tool to get AWS OIDC documentation from \"https:\u002F\u002Fwww.pulumi.com\u002Fdocs\u002Fesc\u002Fintegrations\u002Fdynamic-login-credentials\u002Faws-login\u002F\"\n2. Provide the user with the configuration\n3. Ask the user if they have a pre-defined role or need one created for them\n4. Set up as much of the environment as possible, then guide them through any steps that you can't do for them\n5. Help them test with `pulumi env get` or `pulumi env open` if necessary\n```\n\n## Common Workflows\n\n### Creating an Environment\n\n```bash\npulumi env init my-org\u002Fmy-project\u002Fdev-config\n# Edit environment (accepts new definition from a file, better for agents, more difficult for users)\npulumi env edit --file \u002Ftmp\u002Fexample.yml my-org\u002Fmy-project\u002Fdev-config\n```\n\n### Linking to Stack\n\n```bash\npulumi config env add my-project\u002Fdev-config\npulumi config  # Verify environment values are accessible\n```\n\n### API Access (Rare)\n\n**Always prefer CLI commands.** Only use the API when absolutely necessary (e.g., bulk operations, automation).\n\nAvailable API endpoints include:\n\n- `GET \u002Fapi\u002Fesc\u002Fenvironments\u002F{orgName}` - List environments\n- `GET \u002Fapi\u002Fesc\u002Fenvironments\u002F{orgName}\u002F{projectName}\u002F{envName}` - Read environment definition\n- `GET \u002Fapi\u002Fesc\u002Fproviders?orgName={orgName}` - List available providers\n\nUse the `pulumi api` CLI subcommand to make requests when needed, e.g. `pulumi api \u002Fapi\u002Fesc\u002Fproviders -F orgName={orgName}`.\n\n## Best Practices\n\n1. Always use `fn::secret` for sensitive values\n2. Prefer OIDC over static keys\n3. Use descriptive names like `\u003Corg>\u002Fmy-app\u002Fproduction-aws` not `\u003Corg>\u002Fapp\u002Fprod`\n4. Layer environments: base → cloud-provider → stack-specific\n5. Verify that `pulumi config` shows expected values after linking an environment to a stack\n6. Prefer using `pulumi env run` for commands needing environment variables\n7. Only use `pulumi env open` when absolutely necessary, as it reveals secrets\n8. Before using an existing environment, verify its account and role and get the user's confirmation; never select one by name alone. Never link an environment to a stack (`pulumi config env add`) without explicit user confirmation, and never pass `--yes`.\n\n## Handling Credential Errors and Existing Environments\n\n### Credential errors\n\nStart with the remediation in the error message. An expired or missing login\nusually just needs the user to re-authenticate, and most providers name the fix\nor the command:\n\n- AWS SSO: `Failed to refresh cached SSO credentials. Please refresh SSO login.`\n  → `aws sso login`\n- AWS temporary credentials: `ExpiredToken: The security token included in the\n  request is expired` → refresh the session or keys\n- Azure: re-run `az login`\n- GCP: re-run `gcloud auth application-default login`\n- Pulumi Cloud (401 \u002F unauthorized): `pulumi login`\n\nRelay the fix and have the user retry. If the error does not name a remediation\n(for example a bare `Unable to locate credentials`, or an access-denied that may\nmean the wrong account or profile rather than an expired login), don't guess —\nidentify how the project authenticates (provider config, the active profile, any\nlinked ESC environment) and address that.\n\nChanging where the project gets its credentials (adding or switching an ESC\nenvironment, editing provider config) is a deliberate change, not a reflexive\nfix for an expired session. Do it only if the user wants it, and follow the\nrules below.\n\n### Never select an existing environment by name\n\nDo not pick an environment because its name looks relevant (`*-aws-oidc`,\n`*-creds`, `*-workshop`, etc.). A matching name does not mean it is the right\none or that it belongs to this user's work.\n\nBefore proposing any existing environment:\n\n1. Inspect it with `pulumi env get \u003Corg>\u002F\u003Cproject>\u002F\u003Cenv>`.\n2. Confirm the target it authenticates to matches where the user's resources\n   actually live. An OIDC `roleArn` names a specific AWS account — if it points\n   at a different account (a shared workshop, an instructor role, another team),\n   it is the wrong environment and will run operations against the wrong account\n   or fail.\n3. Show the candidate to the user and confirm it is theirs and correct before\n   using it.\n\n### Linking an environment changes which credentials operations use — confirm first\n\n`pulumi config env add` edits the stack config (`Pulumi.\u003Cstack>.yaml`) and\nchanges the credentials Pulumi operations run under. Never run it without\nexplicit user confirmation, and never pass `--yes` to skip that confirmation.\nTell the user what will change and let them decide.\n\n### Verify before claiming it worked\n\nAfter linking, resolved credential values often show as `[unknown]` until the\nenvironment is opened or run. Do not claim the error is fixed or that the next\noperation will succeed until you have verified it — check `pulumi config`, and\nconfirm the credentials resolve to the expected account before declaring success.\n\n### Quick troubleshooting\n\n- **\"Environment not found\"**: Check permissions with `pulumi env ls -o \u003Corg>`\n- **\"Secret decryption failed\"**: Use `pulumi env open` not `pulumi env get`\n- **\"Stack can't read values\"**: Verify `pulumi config env ls` to ensure the stack is listed.\n  - Ensure the environment is referenced only by the project-name\u002Fenvironment-name format.\n  - Get the specific environment definition with `pulumi env get \u003Corg>\u002F\u003Cproject-name>\u002F\u003Cenvironment-name>`.\n  - Verify the `pulumiConfig` key exists and is nested under the `values` key.\n",{"data":34,"body":35},{"name":4,"description":6},{"type":36,"children":37},"root",[38,47,53,60,65,131,137,942,948,955,1031,1037,1042,1073,1085,1130,1136,1363,1369,1430,1503,1508,1662,1675,1681,1709,1715,1721,1726,1732,1737,1905,1910,1916,1921,2004,2010,2020,2026,2032,2096,2102,2149,2155,2165,2170,2206,2225,2231,2332,2338,2344,2349,2417,2430,2435,2441,2469,2474,2507,2513,2538,2544,2564,2570,2666],{"type":39,"tag":40,"props":41,"children":43},"element","h1",{"id":42},"pulumi-esc-environments-secrets-and-configuration",[44],{"type":45,"value":46},"text","Pulumi ESC (Environments, Secrets, and Configuration)",{"type":39,"tag":48,"props":49,"children":50},"p",{},[51],{"type":45,"value":52},"Pulumi ESC is a centralized service for managing environments, secrets, and configuration across cloud infrastructure and applications.",{"type":39,"tag":54,"props":55,"children":57},"h2",{"id":56},"what-is-esc",[58],{"type":45,"value":59},"What is ESC?",{"type":39,"tag":48,"props":61,"children":62},{},[63],{"type":45,"value":64},"ESC enables teams to:",{"type":39,"tag":66,"props":67,"children":68},"ul",{},[69,81,91,101,111,121],{"type":39,"tag":70,"props":71,"children":72},"li",{},[73,79],{"type":39,"tag":74,"props":75,"children":76},"strong",{},[77],{"type":45,"value":78},"Centralize secrets and configuration",{"type":45,"value":80}," in one secure location",{"type":39,"tag":70,"props":82,"children":83},{},[84,89],{"type":39,"tag":74,"props":85,"children":86},{},[87],{"type":45,"value":88},"Compose environments",{"type":45,"value":90}," by importing and layering configuration",{"type":39,"tag":70,"props":92,"children":93},{},[94,99],{"type":39,"tag":74,"props":95,"children":96},{},[97],{"type":45,"value":98},"Generate dynamic credentials",{"type":45,"value":100}," via OIDC for AWS, Azure, GCP",{"type":39,"tag":70,"props":102,"children":103},{},[104,109],{"type":39,"tag":74,"props":105,"children":106},{},[107],{"type":45,"value":108},"Integrate external secret stores",{"type":45,"value":110}," (AWS Secrets Manager, Azure Key Vault, Vault, 1Password)",{"type":39,"tag":70,"props":112,"children":113},{},[114,119],{"type":39,"tag":74,"props":115,"children":116},{},[117],{"type":45,"value":118},"Version and audit",{"type":45,"value":120}," all configuration changes",{"type":39,"tag":70,"props":122,"children":123},{},[124,129],{"type":39,"tag":74,"props":125,"children":126},{},[127],{"type":45,"value":128},"Control access",{"type":45,"value":130}," with fine-grained RBAC",{"type":39,"tag":54,"props":132,"children":134},{"id":133},"essential-cli-commands",[135],{"type":45,"value":136},"Essential CLI Commands",{"type":39,"tag":138,"props":139,"children":144},"pre",{"className":140,"code":141,"language":142,"meta":143,"style":143},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Create a new environment\npulumi env init \u003Corg>\u002F\u003Cproject-name>\u002F\u003Cenvironment-name>\n\n# Edit environment (opens in editor)\npulumi env edit \u003Corg>\u002F\u003Cproject-name>\u002F\u003Cenvironment-name>\n\n# Set values\npulumi env set \u003Corg>\u002F\u003Cproject-name>\u002F\u003Cenvironment-name> \u003Ckey> \u003Cvalue>\npulumi env set \u003Corg>\u002F\u003Cproject-name>\u002F\u003Cenvironment-name> \u003Ckey> \u003Cvalue> --secret\n\n# View definition (secrets hidden)\npulumi env get \u003Corg>\u002F\u003Cproject-name>\u002F\u003Cenvironment-name>\n\n# Open and resolve (reveals secrets)\npulumi env open \u003Corg>\u002F\u003Cproject-name>\u002F\u003Cenvironment-name>\n\n# Run command with environment\npulumi env run \u003Corg>\u002F\u003Cproject-name>\u002F\u003Cenvironment-name> -- \u003Ccommand>\n\n# Link to Pulumi stack\npulumi config env add \u003Cproject-name>\u002F\u003Cenvironment-name>\n","bash","",[145],{"type":39,"tag":146,"props":147,"children":148},"code",{"__ignoreMap":143},[149,161,249,259,267,340,348,357,465,574,582,591,664,672,681,754,762,771,867,875,884],{"type":39,"tag":150,"props":151,"children":154},"span",{"class":152,"line":153},"line",1,[155],{"type":39,"tag":150,"props":156,"children":158},{"style":157},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[159],{"type":45,"value":160},"# Create a new environment\n",{"type":39,"tag":150,"props":162,"children":164},{"class":152,"line":163},2,[165,170,176,181,187,192,198,203,208,213,218,223,227,231,235,240,244],{"type":39,"tag":150,"props":166,"children":168},{"style":167},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[169],{"type":45,"value":8},{"type":39,"tag":150,"props":171,"children":173},{"style":172},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[174],{"type":45,"value":175}," env",{"type":39,"tag":150,"props":177,"children":178},{"style":172},[179],{"type":45,"value":180}," init",{"type":39,"tag":150,"props":182,"children":184},{"style":183},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[185],{"type":45,"value":186}," \u003C",{"type":39,"tag":150,"props":188,"children":189},{"style":172},[190],{"type":45,"value":191},"or",{"type":39,"tag":150,"props":193,"children":195},{"style":194},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[196],{"type":45,"value":197},"g",{"type":39,"tag":150,"props":199,"children":200},{"style":183},[201],{"type":45,"value":202},">",{"type":39,"tag":150,"props":204,"children":205},{"style":172},[206],{"type":45,"value":207},"\u002F",{"type":39,"tag":150,"props":209,"children":210},{"style":183},[211],{"type":45,"value":212},"\u003C",{"type":39,"tag":150,"props":214,"children":215},{"style":172},[216],{"type":45,"value":217},"project-nam",{"type":39,"tag":150,"props":219,"children":220},{"style":194},[221],{"type":45,"value":222},"e",{"type":39,"tag":150,"props":224,"children":225},{"style":183},[226],{"type":45,"value":202},{"type":39,"tag":150,"props":228,"children":229},{"style":172},[230],{"type":45,"value":207},{"type":39,"tag":150,"props":232,"children":233},{"style":183},[234],{"type":45,"value":212},{"type":39,"tag":150,"props":236,"children":237},{"style":172},[238],{"type":45,"value":239},"environment-nam",{"type":39,"tag":150,"props":241,"children":242},{"style":194},[243],{"type":45,"value":222},{"type":39,"tag":150,"props":245,"children":246},{"style":183},[247],{"type":45,"value":248},">\n",{"type":39,"tag":150,"props":250,"children":252},{"class":152,"line":251},3,[253],{"type":39,"tag":150,"props":254,"children":256},{"emptyLinePlaceholder":255},true,[257],{"type":45,"value":258},"\n",{"type":39,"tag":150,"props":260,"children":261},{"class":152,"line":27},[262],{"type":39,"tag":150,"props":263,"children":264},{"style":157},[265],{"type":45,"value":266},"# Edit environment (opens in editor)\n",{"type":39,"tag":150,"props":268,"children":270},{"class":152,"line":269},5,[271,275,279,284,288,292,296,300,304,308,312,316,320,324,328,332,336],{"type":39,"tag":150,"props":272,"children":273},{"style":167},[274],{"type":45,"value":8},{"type":39,"tag":150,"props":276,"children":277},{"style":172},[278],{"type":45,"value":175},{"type":39,"tag":150,"props":280,"children":281},{"style":172},[282],{"type":45,"value":283}," edit",{"type":39,"tag":150,"props":285,"children":286},{"style":183},[287],{"type":45,"value":186},{"type":39,"tag":150,"props":289,"children":290},{"style":172},[291],{"type":45,"value":191},{"type":39,"tag":150,"props":293,"children":294},{"style":194},[295],{"type":45,"value":197},{"type":39,"tag":150,"props":297,"children":298},{"style":183},[299],{"type":45,"value":202},{"type":39,"tag":150,"props":301,"children":302},{"style":172},[303],{"type":45,"value":207},{"type":39,"tag":150,"props":305,"children":306},{"style":183},[307],{"type":45,"value":212},{"type":39,"tag":150,"props":309,"children":310},{"style":172},[311],{"type":45,"value":217},{"type":39,"tag":150,"props":313,"children":314},{"style":194},[315],{"type":45,"value":222},{"type":39,"tag":150,"props":317,"children":318},{"style":183},[319],{"type":45,"value":202},{"type":39,"tag":150,"props":321,"children":322},{"style":172},[323],{"type":45,"value":207},{"type":39,"tag":150,"props":325,"children":326},{"style":183},[327],{"type":45,"value":212},{"type":39,"tag":150,"props":329,"children":330},{"style":172},[331],{"type":45,"value":239},{"type":39,"tag":150,"props":333,"children":334},{"style":194},[335],{"type":45,"value":222},{"type":39,"tag":150,"props":337,"children":338},{"style":183},[339],{"type":45,"value":248},{"type":39,"tag":150,"props":341,"children":343},{"class":152,"line":342},6,[344],{"type":39,"tag":150,"props":345,"children":346},{"emptyLinePlaceholder":255},[347],{"type":45,"value":258},{"type":39,"tag":150,"props":349,"children":351},{"class":152,"line":350},7,[352],{"type":39,"tag":150,"props":353,"children":354},{"style":157},[355],{"type":45,"value":356},"# Set values\n",{"type":39,"tag":150,"props":358,"children":360},{"class":152,"line":359},8,[361,365,369,374,378,382,386,390,394,398,402,406,410,414,418,422,426,430,434,439,444,448,452,457,461],{"type":39,"tag":150,"props":362,"children":363},{"style":167},[364],{"type":45,"value":8},{"type":39,"tag":150,"props":366,"children":367},{"style":172},[368],{"type":45,"value":175},{"type":39,"tag":150,"props":370,"children":371},{"style":172},[372],{"type":45,"value":373}," set",{"type":39,"tag":150,"props":375,"children":376},{"style":183},[377],{"type":45,"value":186},{"type":39,"tag":150,"props":379,"children":380},{"style":172},[381],{"type":45,"value":191},{"type":39,"tag":150,"props":383,"children":384},{"style":194},[385],{"type":45,"value":197},{"type":39,"tag":150,"props":387,"children":388},{"style":183},[389],{"type":45,"value":202},{"type":39,"tag":150,"props":391,"children":392},{"style":172},[393],{"type":45,"value":207},{"type":39,"tag":150,"props":395,"children":396},{"style":183},[397],{"type":45,"value":212},{"type":39,"tag":150,"props":399,"children":400},{"style":172},[401],{"type":45,"value":217},{"type":39,"tag":150,"props":403,"children":404},{"style":194},[405],{"type":45,"value":222},{"type":39,"tag":150,"props":407,"children":408},{"style":183},[409],{"type":45,"value":202},{"type":39,"tag":150,"props":411,"children":412},{"style":172},[413],{"type":45,"value":207},{"type":39,"tag":150,"props":415,"children":416},{"style":183},[417],{"type":45,"value":212},{"type":39,"tag":150,"props":419,"children":420},{"style":172},[421],{"type":45,"value":239},{"type":39,"tag":150,"props":423,"children":424},{"style":194},[425],{"type":45,"value":222},{"type":39,"tag":150,"props":427,"children":428},{"style":183},[429],{"type":45,"value":202},{"type":39,"tag":150,"props":431,"children":432},{"style":183},[433],{"type":45,"value":186},{"type":39,"tag":150,"props":435,"children":436},{"style":172},[437],{"type":45,"value":438},"ke",{"type":39,"tag":150,"props":440,"children":441},{"style":194},[442],{"type":45,"value":443},"y",{"type":39,"tag":150,"props":445,"children":446},{"style":183},[447],{"type":45,"value":202},{"type":39,"tag":150,"props":449,"children":450},{"style":183},[451],{"type":45,"value":186},{"type":39,"tag":150,"props":453,"children":454},{"style":172},[455],{"type":45,"value":456},"valu",{"type":39,"tag":150,"props":458,"children":459},{"style":194},[460],{"type":45,"value":222},{"type":39,"tag":150,"props":462,"children":463},{"style":183},[464],{"type":45,"value":248},{"type":39,"tag":150,"props":466,"children":468},{"class":152,"line":467},9,[469,473,477,481,485,489,493,497,501,505,509,513,517,521,525,529,533,537,541,545,549,553,557,561,565,569],{"type":39,"tag":150,"props":470,"children":471},{"style":167},[472],{"type":45,"value":8},{"type":39,"tag":150,"props":474,"children":475},{"style":172},[476],{"type":45,"value":175},{"type":39,"tag":150,"props":478,"children":479},{"style":172},[480],{"type":45,"value":373},{"type":39,"tag":150,"props":482,"children":483},{"style":183},[484],{"type":45,"value":186},{"type":39,"tag":150,"props":486,"children":487},{"style":172},[488],{"type":45,"value":191},{"type":39,"tag":150,"props":490,"children":491},{"style":194},[492],{"type":45,"value":197},{"type":39,"tag":150,"props":494,"children":495},{"style":183},[496],{"type":45,"value":202},{"type":39,"tag":150,"props":498,"children":499},{"style":172},[500],{"type":45,"value":207},{"type":39,"tag":150,"props":502,"children":503},{"style":183},[504],{"type":45,"value":212},{"type":39,"tag":150,"props":506,"children":507},{"style":172},[508],{"type":45,"value":217},{"type":39,"tag":150,"props":510,"children":511},{"style":194},[512],{"type":45,"value":222},{"type":39,"tag":150,"props":514,"children":515},{"style":183},[516],{"type":45,"value":202},{"type":39,"tag":150,"props":518,"children":519},{"style":172},[520],{"type":45,"value":207},{"type":39,"tag":150,"props":522,"children":523},{"style":183},[524],{"type":45,"value":212},{"type":39,"tag":150,"props":526,"children":527},{"style":172},[528],{"type":45,"value":239},{"type":39,"tag":150,"props":530,"children":531},{"style":194},[532],{"type":45,"value":222},{"type":39,"tag":150,"props":534,"children":535},{"style":183},[536],{"type":45,"value":202},{"type":39,"tag":150,"props":538,"children":539},{"style":183},[540],{"type":45,"value":186},{"type":39,"tag":150,"props":542,"children":543},{"style":172},[544],{"type":45,"value":438},{"type":39,"tag":150,"props":546,"children":547},{"style":194},[548],{"type":45,"value":443},{"type":39,"tag":150,"props":550,"children":551},{"style":183},[552],{"type":45,"value":202},{"type":39,"tag":150,"props":554,"children":555},{"style":183},[556],{"type":45,"value":186},{"type":39,"tag":150,"props":558,"children":559},{"style":172},[560],{"type":45,"value":456},{"type":39,"tag":150,"props":562,"children":563},{"style":194},[564],{"type":45,"value":222},{"type":39,"tag":150,"props":566,"children":567},{"style":183},[568],{"type":45,"value":202},{"type":39,"tag":150,"props":570,"children":571},{"style":172},[572],{"type":45,"value":573}," --secret\n",{"type":39,"tag":150,"props":575,"children":577},{"class":152,"line":576},10,[578],{"type":39,"tag":150,"props":579,"children":580},{"emptyLinePlaceholder":255},[581],{"type":45,"value":258},{"type":39,"tag":150,"props":583,"children":585},{"class":152,"line":584},11,[586],{"type":39,"tag":150,"props":587,"children":588},{"style":157},[589],{"type":45,"value":590},"# View definition (secrets hidden)\n",{"type":39,"tag":150,"props":592,"children":594},{"class":152,"line":593},12,[595,599,603,608,612,616,620,624,628,632,636,640,644,648,652,656,660],{"type":39,"tag":150,"props":596,"children":597},{"style":167},[598],{"type":45,"value":8},{"type":39,"tag":150,"props":600,"children":601},{"style":172},[602],{"type":45,"value":175},{"type":39,"tag":150,"props":604,"children":605},{"style":172},[606],{"type":45,"value":607}," get",{"type":39,"tag":150,"props":609,"children":610},{"style":183},[611],{"type":45,"value":186},{"type":39,"tag":150,"props":613,"children":614},{"style":172},[615],{"type":45,"value":191},{"type":39,"tag":150,"props":617,"children":618},{"style":194},[619],{"type":45,"value":197},{"type":39,"tag":150,"props":621,"children":622},{"style":183},[623],{"type":45,"value":202},{"type":39,"tag":150,"props":625,"children":626},{"style":172},[627],{"type":45,"value":207},{"type":39,"tag":150,"props":629,"children":630},{"style":183},[631],{"type":45,"value":212},{"type":39,"tag":150,"props":633,"children":634},{"style":172},[635],{"type":45,"value":217},{"type":39,"tag":150,"props":637,"children":638},{"style":194},[639],{"type":45,"value":222},{"type":39,"tag":150,"props":641,"children":642},{"style":183},[643],{"type":45,"value":202},{"type":39,"tag":150,"props":645,"children":646},{"style":172},[647],{"type":45,"value":207},{"type":39,"tag":150,"props":649,"children":650},{"style":183},[651],{"type":45,"value":212},{"type":39,"tag":150,"props":653,"children":654},{"style":172},[655],{"type":45,"value":239},{"type":39,"tag":150,"props":657,"children":658},{"style":194},[659],{"type":45,"value":222},{"type":39,"tag":150,"props":661,"children":662},{"style":183},[663],{"type":45,"value":248},{"type":39,"tag":150,"props":665,"children":667},{"class":152,"line":666},13,[668],{"type":39,"tag":150,"props":669,"children":670},{"emptyLinePlaceholder":255},[671],{"type":45,"value":258},{"type":39,"tag":150,"props":673,"children":675},{"class":152,"line":674},14,[676],{"type":39,"tag":150,"props":677,"children":678},{"style":157},[679],{"type":45,"value":680},"# Open and resolve (reveals secrets)\n",{"type":39,"tag":150,"props":682,"children":684},{"class":152,"line":683},15,[685,689,693,698,702,706,710,714,718,722,726,730,734,738,742,746,750],{"type":39,"tag":150,"props":686,"children":687},{"style":167},[688],{"type":45,"value":8},{"type":39,"tag":150,"props":690,"children":691},{"style":172},[692],{"type":45,"value":175},{"type":39,"tag":150,"props":694,"children":695},{"style":172},[696],{"type":45,"value":697}," open",{"type":39,"tag":150,"props":699,"children":700},{"style":183},[701],{"type":45,"value":186},{"type":39,"tag":150,"props":703,"children":704},{"style":172},[705],{"type":45,"value":191},{"type":39,"tag":150,"props":707,"children":708},{"style":194},[709],{"type":45,"value":197},{"type":39,"tag":150,"props":711,"children":712},{"style":183},[713],{"type":45,"value":202},{"type":39,"tag":150,"props":715,"children":716},{"style":172},[717],{"type":45,"value":207},{"type":39,"tag":150,"props":719,"children":720},{"style":183},[721],{"type":45,"value":212},{"type":39,"tag":150,"props":723,"children":724},{"style":172},[725],{"type":45,"value":217},{"type":39,"tag":150,"props":727,"children":728},{"style":194},[729],{"type":45,"value":222},{"type":39,"tag":150,"props":731,"children":732},{"style":183},[733],{"type":45,"value":202},{"type":39,"tag":150,"props":735,"children":736},{"style":172},[737],{"type":45,"value":207},{"type":39,"tag":150,"props":739,"children":740},{"style":183},[741],{"type":45,"value":212},{"type":39,"tag":150,"props":743,"children":744},{"style":172},[745],{"type":45,"value":239},{"type":39,"tag":150,"props":747,"children":748},{"style":194},[749],{"type":45,"value":222},{"type":39,"tag":150,"props":751,"children":752},{"style":183},[753],{"type":45,"value":248},{"type":39,"tag":150,"props":755,"children":757},{"class":152,"line":756},16,[758],{"type":39,"tag":150,"props":759,"children":760},{"emptyLinePlaceholder":255},[761],{"type":45,"value":258},{"type":39,"tag":150,"props":763,"children":765},{"class":152,"line":764},17,[766],{"type":39,"tag":150,"props":767,"children":768},{"style":157},[769],{"type":45,"value":770},"# Run command with environment\n",{"type":39,"tag":150,"props":772,"children":774},{"class":152,"line":773},18,[775,779,783,788,792,796,800,804,808,812,816,820,824,828,832,836,840,844,849,853,858,863],{"type":39,"tag":150,"props":776,"children":777},{"style":167},[778],{"type":45,"value":8},{"type":39,"tag":150,"props":780,"children":781},{"style":172},[782],{"type":45,"value":175},{"type":39,"tag":150,"props":784,"children":785},{"style":172},[786],{"type":45,"value":787}," run",{"type":39,"tag":150,"props":789,"children":790},{"style":183},[791],{"type":45,"value":186},{"type":39,"tag":150,"props":793,"children":794},{"style":172},[795],{"type":45,"value":191},{"type":39,"tag":150,"props":797,"children":798},{"style":194},[799],{"type":45,"value":197},{"type":39,"tag":150,"props":801,"children":802},{"style":183},[803],{"type":45,"value":202},{"type":39,"tag":150,"props":805,"children":806},{"style":172},[807],{"type":45,"value":207},{"type":39,"tag":150,"props":809,"children":810},{"style":183},[811],{"type":45,"value":212},{"type":39,"tag":150,"props":813,"children":814},{"style":172},[815],{"type":45,"value":217},{"type":39,"tag":150,"props":817,"children":818},{"style":194},[819],{"type":45,"value":222},{"type":39,"tag":150,"props":821,"children":822},{"style":183},[823],{"type":45,"value":202},{"type":39,"tag":150,"props":825,"children":826},{"style":172},[827],{"type":45,"value":207},{"type":39,"tag":150,"props":829,"children":830},{"style":183},[831],{"type":45,"value":212},{"type":39,"tag":150,"props":833,"children":834},{"style":172},[835],{"type":45,"value":239},{"type":39,"tag":150,"props":837,"children":838},{"style":194},[839],{"type":45,"value":222},{"type":39,"tag":150,"props":841,"children":842},{"style":183},[843],{"type":45,"value":202},{"type":39,"tag":150,"props":845,"children":846},{"style":172},[847],{"type":45,"value":848}," --",{"type":39,"tag":150,"props":850,"children":851},{"style":183},[852],{"type":45,"value":186},{"type":39,"tag":150,"props":854,"children":855},{"style":172},[856],{"type":45,"value":857},"comman",{"type":39,"tag":150,"props":859,"children":860},{"style":194},[861],{"type":45,"value":862},"d",{"type":39,"tag":150,"props":864,"children":865},{"style":183},[866],{"type":45,"value":248},{"type":39,"tag":150,"props":868,"children":870},{"class":152,"line":869},19,[871],{"type":39,"tag":150,"props":872,"children":873},{"emptyLinePlaceholder":255},[874],{"type":45,"value":258},{"type":39,"tag":150,"props":876,"children":878},{"class":152,"line":877},20,[879],{"type":39,"tag":150,"props":880,"children":881},{"style":157},[882],{"type":45,"value":883},"# Link to Pulumi stack\n",{"type":39,"tag":150,"props":885,"children":887},{"class":152,"line":886},21,[888,892,897,901,906,910,914,918,922,926,930,934,938],{"type":39,"tag":150,"props":889,"children":890},{"style":167},[891],{"type":45,"value":8},{"type":39,"tag":150,"props":893,"children":894},{"style":172},[895],{"type":45,"value":896}," config",{"type":39,"tag":150,"props":898,"children":899},{"style":172},[900],{"type":45,"value":175},{"type":39,"tag":150,"props":902,"children":903},{"style":172},[904],{"type":45,"value":905}," add",{"type":39,"tag":150,"props":907,"children":908},{"style":183},[909],{"type":45,"value":186},{"type":39,"tag":150,"props":911,"children":912},{"style":172},[913],{"type":45,"value":217},{"type":39,"tag":150,"props":915,"children":916},{"style":194},[917],{"type":45,"value":222},{"type":39,"tag":150,"props":919,"children":920},{"style":183},[921],{"type":45,"value":202},{"type":39,"tag":150,"props":923,"children":924},{"style":172},[925],{"type":45,"value":207},{"type":39,"tag":150,"props":927,"children":928},{"style":183},[929],{"type":45,"value":212},{"type":39,"tag":150,"props":931,"children":932},{"style":172},[933],{"type":45,"value":239},{"type":39,"tag":150,"props":935,"children":936},{"style":194},[937],{"type":45,"value":222},{"type":39,"tag":150,"props":939,"children":940},{"style":183},[941],{"type":45,"value":248},{"type":39,"tag":54,"props":943,"children":945},{"id":944},"key-concepts",[946],{"type":45,"value":947},"Key Concepts",{"type":39,"tag":949,"props":950,"children":952},"h3",{"id":951},"command-distinctions",[953],{"type":45,"value":954},"Command Distinctions",{"type":39,"tag":66,"props":956,"children":957},{},[958,978,992,1006],{"type":39,"tag":70,"props":959,"children":960},{},[961,970,972],{"type":39,"tag":74,"props":962,"children":963},{},[964],{"type":39,"tag":146,"props":965,"children":967},{"className":966},[],[968],{"type":45,"value":969},"pulumi env get",{"type":45,"value":971},": Shows static definition, secrets appear as ",{"type":39,"tag":146,"props":973,"children":975},{"className":974},[],[976],{"type":45,"value":977},"[secret]",{"type":39,"tag":70,"props":979,"children":980},{},[981,990],{"type":39,"tag":74,"props":982,"children":983},{},[984],{"type":39,"tag":146,"props":985,"children":987},{"className":986},[],[988],{"type":45,"value":989},"pulumi env open",{"type":45,"value":991},": Resolves and reveals all values including secrets and dynamic credentials",{"type":39,"tag":70,"props":993,"children":994},{},[995,1004],{"type":39,"tag":74,"props":996,"children":997},{},[998],{"type":39,"tag":146,"props":999,"children":1001},{"className":1000},[],[1002],{"type":45,"value":1003},"pulumi env run",{"type":45,"value":1005},": Executes commands with environment variables loaded",{"type":39,"tag":70,"props":1007,"children":1008},{},[1009,1018,1020],{"type":39,"tag":74,"props":1010,"children":1011},{},[1012],{"type":39,"tag":146,"props":1013,"children":1015},{"className":1014},[],[1016],{"type":45,"value":1017},"pulumi config env add",{"type":45,"value":1019},": Only takes the ",{"type":39,"tag":1021,"props":1022,"children":1023},"project-name",{},[1024,1025],{"type":45,"value":207},{"type":39,"tag":1026,"props":1027,"children":1028},"environment-name",{},[1029],{"type":45,"value":1030}," portion",{"type":39,"tag":949,"props":1032,"children":1034},{"id":1033},"environment-structure",[1035],{"type":45,"value":1036},"Environment Structure",{"type":39,"tag":48,"props":1038,"children":1039},{},[1040],{"type":45,"value":1041},"Environments are YAML documents with reserved top-level keys:",{"type":39,"tag":66,"props":1043,"children":1044},{},[1045,1059],{"type":39,"tag":70,"props":1046,"children":1047},{},[1048,1057],{"type":39,"tag":74,"props":1049,"children":1050},{},[1051],{"type":39,"tag":146,"props":1052,"children":1054},{"className":1053},[],[1055],{"type":45,"value":1056},"imports",{"type":45,"value":1058},": Import and compose other environments",{"type":39,"tag":70,"props":1060,"children":1061},{},[1062,1071],{"type":39,"tag":74,"props":1063,"children":1064},{},[1065],{"type":39,"tag":146,"props":1066,"children":1068},{"className":1067},[],[1069],{"type":45,"value":1070},"values",{"type":45,"value":1072},": Define configuration and secrets",{"type":39,"tag":48,"props":1074,"children":1075},{},[1076,1078,1083],{"type":45,"value":1077},"Reserved sub-keys under ",{"type":39,"tag":146,"props":1079,"children":1081},{"className":1080},[],[1082],{"type":45,"value":1070},{"type":45,"value":1084},":",{"type":39,"tag":66,"props":1086,"children":1087},{},[1088,1102,1116],{"type":39,"tag":70,"props":1089,"children":1090},{},[1091,1100],{"type":39,"tag":74,"props":1092,"children":1093},{},[1094],{"type":39,"tag":146,"props":1095,"children":1097},{"className":1096},[],[1098],{"type":45,"value":1099},"environmentVariables",{"type":45,"value":1101},": Map values to shell environment variables",{"type":39,"tag":70,"props":1103,"children":1104},{},[1105,1114],{"type":39,"tag":74,"props":1106,"children":1107},{},[1108],{"type":39,"tag":146,"props":1109,"children":1111},{"className":1110},[],[1112],{"type":45,"value":1113},"pulumiConfig",{"type":45,"value":1115},": Configure Pulumi stack settings",{"type":39,"tag":70,"props":1117,"children":1118},{},[1119,1128],{"type":39,"tag":74,"props":1120,"children":1121},{},[1122],{"type":39,"tag":146,"props":1123,"children":1125},{"className":1124},[],[1126],{"type":45,"value":1127},"files",{"type":45,"value":1129},": Generate files with environment data",{"type":39,"tag":949,"props":1131,"children":1133},{"id":1132},"basic-example",[1134],{"type":45,"value":1135},"Basic Example",{"type":39,"tag":138,"props":1137,"children":1141},{"className":1138,"code":1139,"language":1140,"meta":143,"style":143},"language-yaml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","imports:\n  - common\u002Fbase-config\n\nvalues:\n  environment: production\n  region: us-west-2\n\n  dbPassword:\n    fn::secret: super-secure-password\n\n  environmentVariables:\n    AWS_REGION: ${region}\n    DB_PASSWORD: ${dbPassword}\n\n  pulumiConfig:\n    aws:region: ${region}\n    app:dbPassword: ${dbPassword}\n","yaml",[1142],{"type":39,"tag":146,"props":1143,"children":1144},{"__ignoreMap":143},[1145,1158,1171,1178,1189,1206,1223,1230,1242,1259,1266,1278,1295,1312,1319,1331,1347],{"type":39,"tag":150,"props":1146,"children":1147},{"class":152,"line":153},[1148,1153],{"type":39,"tag":150,"props":1149,"children":1151},{"style":1150},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[1152],{"type":45,"value":1056},{"type":39,"tag":150,"props":1154,"children":1155},{"style":183},[1156],{"type":45,"value":1157},":\n",{"type":39,"tag":150,"props":1159,"children":1160},{"class":152,"line":163},[1161,1166],{"type":39,"tag":150,"props":1162,"children":1163},{"style":183},[1164],{"type":45,"value":1165},"  -",{"type":39,"tag":150,"props":1167,"children":1168},{"style":172},[1169],{"type":45,"value":1170}," common\u002Fbase-config\n",{"type":39,"tag":150,"props":1172,"children":1173},{"class":152,"line":251},[1174],{"type":39,"tag":150,"props":1175,"children":1176},{"emptyLinePlaceholder":255},[1177],{"type":45,"value":258},{"type":39,"tag":150,"props":1179,"children":1180},{"class":152,"line":27},[1181,1185],{"type":39,"tag":150,"props":1182,"children":1183},{"style":1150},[1184],{"type":45,"value":1070},{"type":39,"tag":150,"props":1186,"children":1187},{"style":183},[1188],{"type":45,"value":1157},{"type":39,"tag":150,"props":1190,"children":1191},{"class":152,"line":269},[1192,1197,1201],{"type":39,"tag":150,"props":1193,"children":1194},{"style":1150},[1195],{"type":45,"value":1196},"  environment",{"type":39,"tag":150,"props":1198,"children":1199},{"style":183},[1200],{"type":45,"value":1084},{"type":39,"tag":150,"props":1202,"children":1203},{"style":172},[1204],{"type":45,"value":1205}," production\n",{"type":39,"tag":150,"props":1207,"children":1208},{"class":152,"line":342},[1209,1214,1218],{"type":39,"tag":150,"props":1210,"children":1211},{"style":1150},[1212],{"type":45,"value":1213},"  region",{"type":39,"tag":150,"props":1215,"children":1216},{"style":183},[1217],{"type":45,"value":1084},{"type":39,"tag":150,"props":1219,"children":1220},{"style":172},[1221],{"type":45,"value":1222}," us-west-2\n",{"type":39,"tag":150,"props":1224,"children":1225},{"class":152,"line":350},[1226],{"type":39,"tag":150,"props":1227,"children":1228},{"emptyLinePlaceholder":255},[1229],{"type":45,"value":258},{"type":39,"tag":150,"props":1231,"children":1232},{"class":152,"line":359},[1233,1238],{"type":39,"tag":150,"props":1234,"children":1235},{"style":1150},[1236],{"type":45,"value":1237},"  dbPassword",{"type":39,"tag":150,"props":1239,"children":1240},{"style":183},[1241],{"type":45,"value":1157},{"type":39,"tag":150,"props":1243,"children":1244},{"class":152,"line":467},[1245,1250,1254],{"type":39,"tag":150,"props":1246,"children":1247},{"style":1150},[1248],{"type":45,"value":1249},"    fn::secret",{"type":39,"tag":150,"props":1251,"children":1252},{"style":183},[1253],{"type":45,"value":1084},{"type":39,"tag":150,"props":1255,"children":1256},{"style":172},[1257],{"type":45,"value":1258}," super-secure-password\n",{"type":39,"tag":150,"props":1260,"children":1261},{"class":152,"line":576},[1262],{"type":39,"tag":150,"props":1263,"children":1264},{"emptyLinePlaceholder":255},[1265],{"type":45,"value":258},{"type":39,"tag":150,"props":1267,"children":1268},{"class":152,"line":584},[1269,1274],{"type":39,"tag":150,"props":1270,"children":1271},{"style":1150},[1272],{"type":45,"value":1273},"  environmentVariables",{"type":39,"tag":150,"props":1275,"children":1276},{"style":183},[1277],{"type":45,"value":1157},{"type":39,"tag":150,"props":1279,"children":1280},{"class":152,"line":593},[1281,1286,1290],{"type":39,"tag":150,"props":1282,"children":1283},{"style":1150},[1284],{"type":45,"value":1285},"    AWS_REGION",{"type":39,"tag":150,"props":1287,"children":1288},{"style":183},[1289],{"type":45,"value":1084},{"type":39,"tag":150,"props":1291,"children":1292},{"style":172},[1293],{"type":45,"value":1294}," ${region}\n",{"type":39,"tag":150,"props":1296,"children":1297},{"class":152,"line":666},[1298,1303,1307],{"type":39,"tag":150,"props":1299,"children":1300},{"style":1150},[1301],{"type":45,"value":1302},"    DB_PASSWORD",{"type":39,"tag":150,"props":1304,"children":1305},{"style":183},[1306],{"type":45,"value":1084},{"type":39,"tag":150,"props":1308,"children":1309},{"style":172},[1310],{"type":45,"value":1311}," ${dbPassword}\n",{"type":39,"tag":150,"props":1313,"children":1314},{"class":152,"line":674},[1315],{"type":39,"tag":150,"props":1316,"children":1317},{"emptyLinePlaceholder":255},[1318],{"type":45,"value":258},{"type":39,"tag":150,"props":1320,"children":1321},{"class":152,"line":683},[1322,1327],{"type":39,"tag":150,"props":1323,"children":1324},{"style":1150},[1325],{"type":45,"value":1326},"  pulumiConfig",{"type":39,"tag":150,"props":1328,"children":1329},{"style":183},[1330],{"type":45,"value":1157},{"type":39,"tag":150,"props":1332,"children":1333},{"class":152,"line":756},[1334,1339,1343],{"type":39,"tag":150,"props":1335,"children":1336},{"style":1150},[1337],{"type":45,"value":1338},"    aws:region",{"type":39,"tag":150,"props":1340,"children":1341},{"style":183},[1342],{"type":45,"value":1084},{"type":39,"tag":150,"props":1344,"children":1345},{"style":172},[1346],{"type":45,"value":1294},{"type":39,"tag":150,"props":1348,"children":1349},{"class":152,"line":764},[1350,1355,1359],{"type":39,"tag":150,"props":1351,"children":1352},{"style":1150},[1353],{"type":45,"value":1354},"    app:dbPassword",{"type":39,"tag":150,"props":1356,"children":1357},{"style":183},[1358],{"type":45,"value":1084},{"type":39,"tag":150,"props":1360,"children":1361},{"style":172},[1362],{"type":45,"value":1311},{"type":39,"tag":949,"props":1364,"children":1366},{"id":1365},"reading-another-stacks-outputs",[1367],{"type":45,"value":1368},"Reading Another Stack's Outputs",{"type":39,"tag":48,"props":1370,"children":1371},{},[1372,1374,1380,1382,1388,1390,1396,1398,1404,1406,1412,1414,1420,1422,1428],{"type":45,"value":1373},"Use the ",{"type":39,"tag":146,"props":1375,"children":1377},{"className":1376},[],[1378],{"type":45,"value":1379},"fn::open::pulumi-stacks",{"type":45,"value":1381}," provider to consume another stack's outputs. The\n",{"type":39,"tag":146,"props":1383,"children":1385},{"className":1384},[],[1386],{"type":45,"value":1387},"stacks",{"type":45,"value":1389}," and ",{"type":39,"tag":146,"props":1391,"children":1393},{"className":1392},[],[1394],{"type":45,"value":1395},"network",{"type":45,"value":1397}," keys below are arbitrary names you choose. Once the function\nresolves, it ",{"type":39,"tag":1399,"props":1400,"children":1401},"em",{},[1402],{"type":45,"value":1403},"replaces",{"type":45,"value":1405}," ",{"type":39,"tag":146,"props":1407,"children":1409},{"className":1408},[],[1410],{"type":45,"value":1411},"stacks.network",{"type":45,"value":1413}," with the named stack's outputs — so the\noutput names (",{"type":39,"tag":146,"props":1415,"children":1417},{"className":1416},[],[1418],{"type":45,"value":1419},"vpcId",{"type":45,"value":1421},", ",{"type":39,"tag":146,"props":1423,"children":1425},{"className":1424},[],[1426],{"type":45,"value":1427},"subnetIds",{"type":45,"value":1429},") do not appear in the static YAML; they come from\nwhatever the producer stack exports. Two things are easy to get wrong:",{"type":39,"tag":66,"props":1431,"children":1432},{},[1433,1468],{"type":39,"tag":70,"props":1434,"children":1435},{},[1436,1438,1444,1446,1451,1453,1459,1460,1466],{"type":45,"value":1437},"The stack is named by a single project-qualified ",{"type":39,"tag":146,"props":1439,"children":1441},{"className":1440},[],[1442],{"type":45,"value":1443},"stack: \u003Cproject>\u002F\u003CstackName>",{"type":45,"value":1445},"\nfield — ",{"type":39,"tag":74,"props":1447,"children":1448},{},[1449],{"type":45,"value":1450},"not",{"type":45,"value":1452}," separate ",{"type":39,"tag":146,"props":1454,"children":1456},{"className":1455},[],[1457],{"type":45,"value":1458},"projectName",{"type":45,"value":207},{"type":39,"tag":146,"props":1461,"children":1463},{"className":1462},[],[1464],{"type":45,"value":1465},"stackName",{"type":45,"value":1467}," fields.",{"type":39,"tag":70,"props":1469,"children":1470},{},[1471,1473,1478,1479,1485,1487,1493,1495,1501],{"type":45,"value":1472},"Outputs resolve directly under the stack name — there is ",{"type":39,"tag":74,"props":1474,"children":1475},{},[1476],{"type":45,"value":1477},"no",{"type":45,"value":1405},{"type":39,"tag":146,"props":1480,"children":1482},{"className":1481},[],[1483],{"type":45,"value":1484},".outputs.",{"type":45,"value":1486}," level\n(use ",{"type":39,"tag":146,"props":1488,"children":1490},{"className":1489},[],[1491],{"type":45,"value":1492},"${stacks.network.vpcId}",{"type":45,"value":1494},", not ",{"type":39,"tag":146,"props":1496,"children":1498},{"className":1497},[],[1499],{"type":45,"value":1500},"${stacks.network.outputs.vpcId}",{"type":45,"value":1502},").",{"type":39,"tag":48,"props":1504,"children":1505},{},[1506],{"type":45,"value":1507},"Example — replace the stack name and output names with your own:",{"type":39,"tag":138,"props":1509,"children":1511},{"className":1138,"code":1510,"language":1140,"meta":143,"style":143},"values:\n  stacks:\n    fn::open::pulumi-stacks:\n      stacks:\n        network:                 # arbitrary local name for the referenced stack\n          stack: my-project\u002Fdev  # producer stack to read outputs from\n  pulumiConfig:\n    # vpcId \u002F subnetIds are whatever the producer stack exports; after the function\n    # resolves they are available directly under `stacks.network` (no `.outputs.`).\n    vpcId: ${stacks.network.vpcId}\n    subnetIds: ${stacks.network.subnetIds}\n",[1512],{"type":39,"tag":146,"props":1513,"children":1514},{"__ignoreMap":143},[1515,1526,1538,1550,1562,1579,1601,1612,1620,1628,1645],{"type":39,"tag":150,"props":1516,"children":1517},{"class":152,"line":153},[1518,1522],{"type":39,"tag":150,"props":1519,"children":1520},{"style":1150},[1521],{"type":45,"value":1070},{"type":39,"tag":150,"props":1523,"children":1524},{"style":183},[1525],{"type":45,"value":1157},{"type":39,"tag":150,"props":1527,"children":1528},{"class":152,"line":163},[1529,1534],{"type":39,"tag":150,"props":1530,"children":1531},{"style":1150},[1532],{"type":45,"value":1533},"  stacks",{"type":39,"tag":150,"props":1535,"children":1536},{"style":183},[1537],{"type":45,"value":1157},{"type":39,"tag":150,"props":1539,"children":1540},{"class":152,"line":251},[1541,1546],{"type":39,"tag":150,"props":1542,"children":1543},{"style":1150},[1544],{"type":45,"value":1545},"    fn::open::pulumi-stacks",{"type":39,"tag":150,"props":1547,"children":1548},{"style":183},[1549],{"type":45,"value":1157},{"type":39,"tag":150,"props":1551,"children":1552},{"class":152,"line":27},[1553,1558],{"type":39,"tag":150,"props":1554,"children":1555},{"style":1150},[1556],{"type":45,"value":1557},"      stacks",{"type":39,"tag":150,"props":1559,"children":1560},{"style":183},[1561],{"type":45,"value":1157},{"type":39,"tag":150,"props":1563,"children":1564},{"class":152,"line":269},[1565,1570,1574],{"type":39,"tag":150,"props":1566,"children":1567},{"style":1150},[1568],{"type":45,"value":1569},"        network",{"type":39,"tag":150,"props":1571,"children":1572},{"style":183},[1573],{"type":45,"value":1084},{"type":39,"tag":150,"props":1575,"children":1576},{"style":157},[1577],{"type":45,"value":1578},"                 # arbitrary local name for the referenced stack\n",{"type":39,"tag":150,"props":1580,"children":1581},{"class":152,"line":342},[1582,1587,1591,1596],{"type":39,"tag":150,"props":1583,"children":1584},{"style":1150},[1585],{"type":45,"value":1586},"          stack",{"type":39,"tag":150,"props":1588,"children":1589},{"style":183},[1590],{"type":45,"value":1084},{"type":39,"tag":150,"props":1592,"children":1593},{"style":172},[1594],{"type":45,"value":1595}," my-project\u002Fdev",{"type":39,"tag":150,"props":1597,"children":1598},{"style":157},[1599],{"type":45,"value":1600},"  # producer stack to read outputs from\n",{"type":39,"tag":150,"props":1602,"children":1603},{"class":152,"line":350},[1604,1608],{"type":39,"tag":150,"props":1605,"children":1606},{"style":1150},[1607],{"type":45,"value":1326},{"type":39,"tag":150,"props":1609,"children":1610},{"style":183},[1611],{"type":45,"value":1157},{"type":39,"tag":150,"props":1613,"children":1614},{"class":152,"line":359},[1615],{"type":39,"tag":150,"props":1616,"children":1617},{"style":157},[1618],{"type":45,"value":1619},"    # vpcId \u002F subnetIds are whatever the producer stack exports; after the function\n",{"type":39,"tag":150,"props":1621,"children":1622},{"class":152,"line":467},[1623],{"type":39,"tag":150,"props":1624,"children":1625},{"style":157},[1626],{"type":45,"value":1627},"    # resolves they are available directly under `stacks.network` (no `.outputs.`).\n",{"type":39,"tag":150,"props":1629,"children":1630},{"class":152,"line":576},[1631,1636,1640],{"type":39,"tag":150,"props":1632,"children":1633},{"style":1150},[1634],{"type":45,"value":1635},"    vpcId",{"type":39,"tag":150,"props":1637,"children":1638},{"style":183},[1639],{"type":45,"value":1084},{"type":39,"tag":150,"props":1641,"children":1642},{"style":172},[1643],{"type":45,"value":1644}," ${stacks.network.vpcId}\n",{"type":39,"tag":150,"props":1646,"children":1647},{"class":152,"line":584},[1648,1653,1657],{"type":39,"tag":150,"props":1649,"children":1650},{"style":1150},[1651],{"type":45,"value":1652},"    subnetIds",{"type":39,"tag":150,"props":1654,"children":1655},{"style":183},[1656],{"type":45,"value":1084},{"type":39,"tag":150,"props":1658,"children":1659},{"style":172},[1660],{"type":45,"value":1661}," ${stacks.network.subnetIds}\n",{"type":39,"tag":48,"props":1663,"children":1664},{},[1665,1667],{"type":45,"value":1666},"Full schema: ",{"type":39,"tag":1668,"props":1669,"children":1673},"a",{"href":1670,"rel":1671},"https:\u002F\u002Fwww.pulumi.com\u002Fdocs\u002Fesc\u002Fproviders\u002Fpulumi-stacks\u002F",[1672],"nofollow",[1674],{"type":45,"value":1670},{"type":39,"tag":949,"props":1676,"children":1678},{"id":1677},"viewing-an-environment-in-the-pulumi-cloud-console",[1679],{"type":45,"value":1680},"Viewing an Environment in the Pulumi Cloud Console",{"type":39,"tag":48,"props":1682,"children":1683},{},[1684,1686,1692,1694,1700,1701,1707],{"type":45,"value":1685},"The console URL for an environment is\n",{"type":39,"tag":146,"props":1687,"children":1689},{"className":1688},[],[1690],{"type":45,"value":1691},"https:\u002F\u002Fapp.pulumi.com\u002F\u003Corg>\u002Fesc\u002F\u003Cproject>\u002F\u003Cenvironment>",{"type":45,"value":1693},". The route segment is\n",{"type":39,"tag":146,"props":1695,"children":1697},{"className":1696},[],[1698],{"type":45,"value":1699},"esc",{"type":45,"value":1494},{"type":39,"tag":146,"props":1702,"children":1704},{"className":1703},[],[1705],{"type":45,"value":1706},"environments",{"type":45,"value":1708},".",{"type":39,"tag":54,"props":1710,"children":1712},{"id":1711},"working-with-the-user",[1713],{"type":45,"value":1714},"Working with the User",{"type":39,"tag":949,"props":1716,"children":1718},{"id":1717},"for-simple-questions",[1719],{"type":45,"value":1720},"For Simple Questions",{"type":39,"tag":48,"props":1722,"children":1723},{},[1724],{"type":45,"value":1725},"If the user asks basic questions like \"How do I create an environment?\" or \"What's the difference between get and open?\", answer directly using the information above.",{"type":39,"tag":949,"props":1727,"children":1729},{"id":1728},"for-detailed-documentation",[1730],{"type":45,"value":1731},"For Detailed Documentation",{"type":39,"tag":48,"props":1733,"children":1734},{},[1735],{"type":45,"value":1736},"When users need more information, use the web-fetch tool to get content from the official Pulumi ESC documentation:",{"type":39,"tag":66,"props":1738,"children":1739},{},[1740,1756,1852,1867],{"type":39,"tag":70,"props":1741,"children":1742},{},[1743,1748,1750],{"type":39,"tag":74,"props":1744,"children":1745},{},[1746],{"type":45,"value":1747},"Complete YAML syntax and functions",{"type":45,"value":1749}," → ",{"type":39,"tag":1668,"props":1751,"children":1754},{"href":1752,"rel":1753},"https:\u002F\u002Fwww.pulumi.com\u002Fdocs\u002Fesc\u002Fenvironments\u002Fsyntax\u002F",[1672],[1755],{"type":45,"value":1752},{"type":39,"tag":70,"props":1757,"children":1758},{},[1759,1764,1766],{"type":39,"tag":74,"props":1760,"children":1761},{},[1762],{"type":45,"value":1763},"Provider integrations",{"type":45,"value":1765}," (AWS, Azure, GCP, Vault, 1Password):\n",{"type":39,"tag":66,"props":1767,"children":1768},{},[1769,1780,1791,1802,1813,1824,1841],{"type":39,"tag":70,"props":1770,"children":1771},{},[1772,1774],{"type":45,"value":1773},"AWS: ",{"type":39,"tag":1668,"props":1775,"children":1778},{"href":1776,"rel":1777},"https:\u002F\u002Fwww.pulumi.com\u002Fdocs\u002Fesc\u002Fintegrations\u002Fdynamic-login-credentials\u002Faws-login\u002F",[1672],[1779],{"type":45,"value":1776},{"type":39,"tag":70,"props":1781,"children":1782},{},[1783,1785],{"type":45,"value":1784},"Azure: ",{"type":39,"tag":1668,"props":1786,"children":1789},{"href":1787,"rel":1788},"https:\u002F\u002Fwww.pulumi.com\u002Fdocs\u002Fesc\u002Fintegrations\u002Fdynamic-login-credentials\u002Fazure-login\u002F",[1672],[1790],{"type":45,"value":1787},{"type":39,"tag":70,"props":1792,"children":1793},{},[1794,1796],{"type":45,"value":1795},"GCP: ",{"type":39,"tag":1668,"props":1797,"children":1800},{"href":1798,"rel":1799},"https:\u002F\u002Fwww.pulumi.com\u002Fdocs\u002Fesc\u002Fintegrations\u002Fdynamic-login-credentials\u002Fgcp-login\u002F",[1672],[1801],{"type":45,"value":1798},{"type":39,"tag":70,"props":1803,"children":1804},{},[1805,1807],{"type":45,"value":1806},"Short-term credential (OIDC) providers: ",{"type":39,"tag":1668,"props":1808,"children":1811},{"href":1809,"rel":1810},"https:\u002F\u002Fwww.pulumi.com\u002Fdocs\u002Fesc\u002Fintegrations\u002Fdynamic-login-credentials\u002F",[1672],[1812],{"type":45,"value":1809},{"type":39,"tag":70,"props":1814,"children":1815},{},[1816,1818],{"type":45,"value":1817},"Dynamic secret providers: ",{"type":39,"tag":1668,"props":1819,"children":1822},{"href":1820,"rel":1821},"https:\u002F\u002Fwww.pulumi.com\u002Fdocs\u002Fesc\u002Fintegrations\u002Fdynamic-secrets\u002F",[1672],[1823],{"type":45,"value":1820},{"type":39,"tag":70,"props":1825,"children":1826},{},[1827,1829,1834,1836],{"type":45,"value":1828},"Pulumi stack outputs (",{"type":39,"tag":146,"props":1830,"children":1832},{"className":1831},[],[1833],{"type":45,"value":1379},{"type":45,"value":1835},"): ",{"type":39,"tag":1668,"props":1837,"children":1839},{"href":1670,"rel":1838},[1672],[1840],{"type":45,"value":1670},{"type":39,"tag":70,"props":1842,"children":1843},{},[1844,1846],{"type":45,"value":1845},"All providers (index): ",{"type":39,"tag":1668,"props":1847,"children":1850},{"href":1848,"rel":1849},"https:\u002F\u002Fwww.pulumi.com\u002Fdocs\u002Fesc\u002Fproviders\u002F",[1672],[1851],{"type":45,"value":1848},{"type":39,"tag":70,"props":1853,"children":1854},{},[1855,1860,1861],{"type":39,"tag":74,"props":1856,"children":1857},{},[1858],{"type":45,"value":1859},"Getting started guide",{"type":45,"value":1749},{"type":39,"tag":1668,"props":1862,"children":1865},{"href":1863,"rel":1864},"https:\u002F\u002Fwww.pulumi.com\u002Fdocs\u002Fesc\u002Fget-started\u002F",[1672],[1866],{"type":45,"value":1863},{"type":39,"tag":70,"props":1868,"children":1869},{},[1870,1875,1876,1882],{"type":39,"tag":74,"props":1871,"children":1872},{},[1873],{"type":45,"value":1874},"CLI reference",{"type":45,"value":1749},{"type":39,"tag":1668,"props":1877,"children":1880},{"href":1878,"rel":1879},"https:\u002F\u002Fwww.pulumi.com\u002Fdocs\u002Fesc\u002Fcli\u002Fcommands\u002F",[1672],[1881],{"type":45,"value":1878},{"type":39,"tag":66,"props":1883,"children":1884},{},[1885],{"type":39,"tag":70,"props":1886,"children":1887},{},[1888,1890,1896,1898,1903],{"type":45,"value":1889},"Prefer using the ",{"type":39,"tag":146,"props":1891,"children":1893},{"className":1892},[],[1894],{"type":45,"value":1895},"pulumi env",{"type":45,"value":1897}," subcommands over ",{"type":39,"tag":146,"props":1899,"children":1901},{"className":1900},[],[1902],{"type":45,"value":1699},{"type":45,"value":1904}," CLI.",{"type":39,"tag":48,"props":1906,"children":1907},{},[1908],{"type":45,"value":1909},"Use the web-fetch tool with specific prompts to extract relevant information from these docs.",{"type":39,"tag":949,"props":1911,"children":1913},{"id":1912},"for-complex-tasks",[1914],{"type":45,"value":1915},"For Complex Tasks",{"type":39,"tag":48,"props":1917,"children":1918},{},[1919],{"type":45,"value":1920},"When helping users:",{"type":39,"tag":1922,"props":1923,"children":1924},"ol",{},[1925,1935,1952,1962,1972],{"type":39,"tag":70,"props":1926,"children":1927},{},[1928,1933],{"type":39,"tag":74,"props":1929,"children":1930},{},[1931],{"type":45,"value":1932},"Understand the goal",{"type":45,"value":1934},": Are they setting up new environments, migrating from stack config, or debugging?",{"type":39,"tag":70,"props":1936,"children":1937},{},[1938,1943,1945,1950],{"type":39,"tag":74,"props":1939,"children":1940},{},[1941],{"type":45,"value":1942},"Check existing setup",{"type":45,"value":1944},": Use ",{"type":39,"tag":146,"props":1946,"children":1948},{"className":1947},[],[1949],{"type":45,"value":1895},{"type":45,"value":1951}," commands to list environments or read definitions",{"type":39,"tag":70,"props":1953,"children":1954},{},[1955,1960],{"type":39,"tag":74,"props":1956,"children":1957},{},[1958],{"type":45,"value":1959},"Fetch relevant documentation",{"type":45,"value":1961},": Use the web-fetch to get specific examples or syntax from the official docs",{"type":39,"tag":70,"props":1963,"children":1964},{},[1965,1970],{"type":39,"tag":74,"props":1966,"children":1967},{},[1968],{"type":45,"value":1969},"Provide step-by-step guidance",{"type":45,"value":1971},": Walk through the process with specific commands",{"type":39,"tag":70,"props":1973,"children":1974},{},[1975,1980,1982,1987,1989,1995,1997,2002],{"type":39,"tag":74,"props":1976,"children":1977},{},[1978],{"type":45,"value":1979},"Validate",{"type":45,"value":1981},": Help them test with ",{"type":39,"tag":146,"props":1983,"children":1985},{"className":1984},[],[1986],{"type":45,"value":969},{"type":45,"value":1988}," or ",{"type":39,"tag":146,"props":1990,"children":1992},{"className":1991},[],[1993],{"type":45,"value":1994},"pulumi preview",{"type":45,"value":1996},"\na. Only use ",{"type":39,"tag":146,"props":1998,"children":2000},{"className":1999},[],[2001],{"type":45,"value":989},{"type":45,"value":2003}," when the full resolved values are needed, but use cautiously as it reveals secrets.",{"type":39,"tag":949,"props":2005,"children":2007},{"id":2006},"example-helping-with-aws-oidc-setup",[2008],{"type":45,"value":2009},"Example: Helping with AWS OIDC Setup",{"type":39,"tag":138,"props":2011,"children":2015},{"className":2012,"code":2014,"language":45,"meta":143},[2013],"language-text","User: \"How do I set up AWS OIDC credentials in ESC?\"\n\n1. Use the web-fetch tool to get AWS OIDC documentation from \"https:\u002F\u002Fwww.pulumi.com\u002Fdocs\u002Fesc\u002Fintegrations\u002Fdynamic-login-credentials\u002Faws-login\u002F\"\n2. Provide the user with the configuration\n3. Ask the user if they have a pre-defined role or need one created for them\n4. Set up as much of the environment as possible, then guide them through any steps that you can't do for them\n5. Help them test with `pulumi env get` or `pulumi env open` if necessary\n",[2016],{"type":39,"tag":146,"props":2017,"children":2018},{"__ignoreMap":143},[2019],{"type":45,"value":2014},{"type":39,"tag":54,"props":2021,"children":2023},{"id":2022},"common-workflows",[2024],{"type":45,"value":2025},"Common Workflows",{"type":39,"tag":949,"props":2027,"children":2029},{"id":2028},"creating-an-environment",[2030],{"type":45,"value":2031},"Creating an Environment",{"type":39,"tag":138,"props":2033,"children":2035},{"className":140,"code":2034,"language":142,"meta":143,"style":143},"pulumi env init my-org\u002Fmy-project\u002Fdev-config\n# Edit environment (accepts new definition from a file, better for agents, more difficult for users)\npulumi env edit --file \u002Ftmp\u002Fexample.yml my-org\u002Fmy-project\u002Fdev-config\n",[2036],{"type":39,"tag":146,"props":2037,"children":2038},{"__ignoreMap":143},[2039,2059,2067],{"type":39,"tag":150,"props":2040,"children":2041},{"class":152,"line":153},[2042,2046,2050,2054],{"type":39,"tag":150,"props":2043,"children":2044},{"style":167},[2045],{"type":45,"value":8},{"type":39,"tag":150,"props":2047,"children":2048},{"style":172},[2049],{"type":45,"value":175},{"type":39,"tag":150,"props":2051,"children":2052},{"style":172},[2053],{"type":45,"value":180},{"type":39,"tag":150,"props":2055,"children":2056},{"style":172},[2057],{"type":45,"value":2058}," my-org\u002Fmy-project\u002Fdev-config\n",{"type":39,"tag":150,"props":2060,"children":2061},{"class":152,"line":163},[2062],{"type":39,"tag":150,"props":2063,"children":2064},{"style":157},[2065],{"type":45,"value":2066},"# Edit environment (accepts new definition from a file, better for agents, more difficult for users)\n",{"type":39,"tag":150,"props":2068,"children":2069},{"class":152,"line":251},[2070,2074,2078,2082,2087,2092],{"type":39,"tag":150,"props":2071,"children":2072},{"style":167},[2073],{"type":45,"value":8},{"type":39,"tag":150,"props":2075,"children":2076},{"style":172},[2077],{"type":45,"value":175},{"type":39,"tag":150,"props":2079,"children":2080},{"style":172},[2081],{"type":45,"value":283},{"type":39,"tag":150,"props":2083,"children":2084},{"style":172},[2085],{"type":45,"value":2086}," --file",{"type":39,"tag":150,"props":2088,"children":2089},{"style":172},[2090],{"type":45,"value":2091}," \u002Ftmp\u002Fexample.yml",{"type":39,"tag":150,"props":2093,"children":2094},{"style":172},[2095],{"type":45,"value":2058},{"type":39,"tag":949,"props":2097,"children":2099},{"id":2098},"linking-to-stack",[2100],{"type":45,"value":2101},"Linking to Stack",{"type":39,"tag":138,"props":2103,"children":2105},{"className":140,"code":2104,"language":142,"meta":143,"style":143},"pulumi config env add my-project\u002Fdev-config\npulumi config  # Verify environment values are accessible\n",[2106],{"type":39,"tag":146,"props":2107,"children":2108},{"__ignoreMap":143},[2109,2133],{"type":39,"tag":150,"props":2110,"children":2111},{"class":152,"line":153},[2112,2116,2120,2124,2128],{"type":39,"tag":150,"props":2113,"children":2114},{"style":167},[2115],{"type":45,"value":8},{"type":39,"tag":150,"props":2117,"children":2118},{"style":172},[2119],{"type":45,"value":896},{"type":39,"tag":150,"props":2121,"children":2122},{"style":172},[2123],{"type":45,"value":175},{"type":39,"tag":150,"props":2125,"children":2126},{"style":172},[2127],{"type":45,"value":905},{"type":39,"tag":150,"props":2129,"children":2130},{"style":172},[2131],{"type":45,"value":2132}," my-project\u002Fdev-config\n",{"type":39,"tag":150,"props":2134,"children":2135},{"class":152,"line":163},[2136,2140,2144],{"type":39,"tag":150,"props":2137,"children":2138},{"style":167},[2139],{"type":45,"value":8},{"type":39,"tag":150,"props":2141,"children":2142},{"style":172},[2143],{"type":45,"value":896},{"type":39,"tag":150,"props":2145,"children":2146},{"style":157},[2147],{"type":45,"value":2148},"  # Verify environment values are accessible\n",{"type":39,"tag":949,"props":2150,"children":2152},{"id":2151},"api-access-rare",[2153],{"type":45,"value":2154},"API Access (Rare)",{"type":39,"tag":48,"props":2156,"children":2157},{},[2158,2163],{"type":39,"tag":74,"props":2159,"children":2160},{},[2161],{"type":45,"value":2162},"Always prefer CLI commands.",{"type":45,"value":2164}," Only use the API when absolutely necessary (e.g., bulk operations, automation).",{"type":39,"tag":48,"props":2166,"children":2167},{},[2168],{"type":45,"value":2169},"Available API endpoints include:",{"type":39,"tag":66,"props":2171,"children":2172},{},[2173,2184,2195],{"type":39,"tag":70,"props":2174,"children":2175},{},[2176,2182],{"type":39,"tag":146,"props":2177,"children":2179},{"className":2178},[],[2180],{"type":45,"value":2181},"GET \u002Fapi\u002Fesc\u002Fenvironments\u002F{orgName}",{"type":45,"value":2183}," - List environments",{"type":39,"tag":70,"props":2185,"children":2186},{},[2187,2193],{"type":39,"tag":146,"props":2188,"children":2190},{"className":2189},[],[2191],{"type":45,"value":2192},"GET \u002Fapi\u002Fesc\u002Fenvironments\u002F{orgName}\u002F{projectName}\u002F{envName}",{"type":45,"value":2194}," - Read environment definition",{"type":39,"tag":70,"props":2196,"children":2197},{},[2198,2204],{"type":39,"tag":146,"props":2199,"children":2201},{"className":2200},[],[2202],{"type":45,"value":2203},"GET \u002Fapi\u002Fesc\u002Fproviders?orgName={orgName}",{"type":45,"value":2205}," - List available providers",{"type":39,"tag":48,"props":2207,"children":2208},{},[2209,2210,2216,2218,2224],{"type":45,"value":1373},{"type":39,"tag":146,"props":2211,"children":2213},{"className":2212},[],[2214],{"type":45,"value":2215},"pulumi api",{"type":45,"value":2217}," CLI subcommand to make requests when needed, e.g. ",{"type":39,"tag":146,"props":2219,"children":2221},{"className":2220},[],[2222],{"type":45,"value":2223},"pulumi api \u002Fapi\u002Fesc\u002Fproviders -F orgName={orgName}",{"type":45,"value":1708},{"type":39,"tag":54,"props":2226,"children":2228},{"id":2227},"best-practices",[2229],{"type":45,"value":2230},"Best Practices",{"type":39,"tag":1922,"props":2232,"children":2233},{},[2234,2247,2252,2271,2276,2289,2301,2313],{"type":39,"tag":70,"props":2235,"children":2236},{},[2237,2239,2245],{"type":45,"value":2238},"Always use ",{"type":39,"tag":146,"props":2240,"children":2242},{"className":2241},[],[2243],{"type":45,"value":2244},"fn::secret",{"type":45,"value":2246}," for sensitive values",{"type":39,"tag":70,"props":2248,"children":2249},{},[2250],{"type":45,"value":2251},"Prefer OIDC over static keys",{"type":39,"tag":70,"props":2253,"children":2254},{},[2255,2257,2263,2265],{"type":45,"value":2256},"Use descriptive names like ",{"type":39,"tag":146,"props":2258,"children":2260},{"className":2259},[],[2261],{"type":45,"value":2262},"\u003Corg>\u002Fmy-app\u002Fproduction-aws",{"type":45,"value":2264}," not ",{"type":39,"tag":146,"props":2266,"children":2268},{"className":2267},[],[2269],{"type":45,"value":2270},"\u003Corg>\u002Fapp\u002Fprod",{"type":39,"tag":70,"props":2272,"children":2273},{},[2274],{"type":45,"value":2275},"Layer environments: base → cloud-provider → stack-specific",{"type":39,"tag":70,"props":2277,"children":2278},{},[2279,2281,2287],{"type":45,"value":2280},"Verify that ",{"type":39,"tag":146,"props":2282,"children":2284},{"className":2283},[],[2285],{"type":45,"value":2286},"pulumi config",{"type":45,"value":2288}," shows expected values after linking an environment to a stack",{"type":39,"tag":70,"props":2290,"children":2291},{},[2292,2294,2299],{"type":45,"value":2293},"Prefer using ",{"type":39,"tag":146,"props":2295,"children":2297},{"className":2296},[],[2298],{"type":45,"value":1003},{"type":45,"value":2300}," for commands needing environment variables",{"type":39,"tag":70,"props":2302,"children":2303},{},[2304,2306,2311],{"type":45,"value":2305},"Only use ",{"type":39,"tag":146,"props":2307,"children":2309},{"className":2308},[],[2310],{"type":45,"value":989},{"type":45,"value":2312}," when absolutely necessary, as it reveals secrets",{"type":39,"tag":70,"props":2314,"children":2315},{},[2316,2318,2323,2325,2331],{"type":45,"value":2317},"Before using an existing environment, verify its account and role and get the user's confirmation; never select one by name alone. Never link an environment to a stack (",{"type":39,"tag":146,"props":2319,"children":2321},{"className":2320},[],[2322],{"type":45,"value":1017},{"type":45,"value":2324},") without explicit user confirmation, and never pass ",{"type":39,"tag":146,"props":2326,"children":2328},{"className":2327},[],[2329],{"type":45,"value":2330},"--yes",{"type":45,"value":1708},{"type":39,"tag":54,"props":2333,"children":2335},{"id":2334},"handling-credential-errors-and-existing-environments",[2336],{"type":45,"value":2337},"Handling Credential Errors and Existing Environments",{"type":39,"tag":949,"props":2339,"children":2341},{"id":2340},"credential-errors",[2342],{"type":45,"value":2343},"Credential errors",{"type":39,"tag":48,"props":2345,"children":2346},{},[2347],{"type":45,"value":2348},"Start with the remediation in the error message. An expired or missing login\nusually just needs the user to re-authenticate, and most providers name the fix\nor the command:",{"type":39,"tag":66,"props":2350,"children":2351},{},[2352,2371,2384,2395,2406],{"type":39,"tag":70,"props":2353,"children":2354},{},[2355,2357,2363,2365],{"type":45,"value":2356},"AWS SSO: ",{"type":39,"tag":146,"props":2358,"children":2360},{"className":2359},[],[2361],{"type":45,"value":2362},"Failed to refresh cached SSO credentials. Please refresh SSO login.",{"type":45,"value":2364},"\n→ ",{"type":39,"tag":146,"props":2366,"children":2368},{"className":2367},[],[2369],{"type":45,"value":2370},"aws sso login",{"type":39,"tag":70,"props":2372,"children":2373},{},[2374,2376,2382],{"type":45,"value":2375},"AWS temporary credentials: ",{"type":39,"tag":146,"props":2377,"children":2379},{"className":2378},[],[2380],{"type":45,"value":2381},"ExpiredToken: The security token included in the request is expired",{"type":45,"value":2383}," → refresh the session or keys",{"type":39,"tag":70,"props":2385,"children":2386},{},[2387,2389],{"type":45,"value":2388},"Azure: re-run ",{"type":39,"tag":146,"props":2390,"children":2392},{"className":2391},[],[2393],{"type":45,"value":2394},"az login",{"type":39,"tag":70,"props":2396,"children":2397},{},[2398,2400],{"type":45,"value":2399},"GCP: re-run ",{"type":39,"tag":146,"props":2401,"children":2403},{"className":2402},[],[2404],{"type":45,"value":2405},"gcloud auth application-default login",{"type":39,"tag":70,"props":2407,"children":2408},{},[2409,2411],{"type":45,"value":2410},"Pulumi Cloud (401 \u002F unauthorized): ",{"type":39,"tag":146,"props":2412,"children":2414},{"className":2413},[],[2415],{"type":45,"value":2416},"pulumi login",{"type":39,"tag":48,"props":2418,"children":2419},{},[2420,2422,2428],{"type":45,"value":2421},"Relay the fix and have the user retry. If the error does not name a remediation\n(for example a bare ",{"type":39,"tag":146,"props":2423,"children":2425},{"className":2424},[],[2426],{"type":45,"value":2427},"Unable to locate credentials",{"type":45,"value":2429},", or an access-denied that may\nmean the wrong account or profile rather than an expired login), don't guess —\nidentify how the project authenticates (provider config, the active profile, any\nlinked ESC environment) and address that.",{"type":39,"tag":48,"props":2431,"children":2432},{},[2433],{"type":45,"value":2434},"Changing where the project gets its credentials (adding or switching an ESC\nenvironment, editing provider config) is a deliberate change, not a reflexive\nfix for an expired session. Do it only if the user wants it, and follow the\nrules below.",{"type":39,"tag":949,"props":2436,"children":2438},{"id":2437},"never-select-an-existing-environment-by-name",[2439],{"type":45,"value":2440},"Never select an existing environment by name",{"type":39,"tag":48,"props":2442,"children":2443},{},[2444,2446,2452,2454,2460,2461,2467],{"type":45,"value":2445},"Do not pick an environment because its name looks relevant (",{"type":39,"tag":146,"props":2447,"children":2449},{"className":2448},[],[2450],{"type":45,"value":2451},"*-aws-oidc",{"type":45,"value":2453},",\n",{"type":39,"tag":146,"props":2455,"children":2457},{"className":2456},[],[2458],{"type":45,"value":2459},"*-creds",{"type":45,"value":1421},{"type":39,"tag":146,"props":2462,"children":2464},{"className":2463},[],[2465],{"type":45,"value":2466},"*-workshop",{"type":45,"value":2468},", etc.). A matching name does not mean it is the right\none or that it belongs to this user's work.",{"type":39,"tag":48,"props":2470,"children":2471},{},[2472],{"type":45,"value":2473},"Before proposing any existing environment:",{"type":39,"tag":1922,"props":2475,"children":2476},{},[2477,2489,2502],{"type":39,"tag":70,"props":2478,"children":2479},{},[2480,2482,2488],{"type":45,"value":2481},"Inspect it with ",{"type":39,"tag":146,"props":2483,"children":2485},{"className":2484},[],[2486],{"type":45,"value":2487},"pulumi env get \u003Corg>\u002F\u003Cproject>\u002F\u003Cenv>",{"type":45,"value":1708},{"type":39,"tag":70,"props":2490,"children":2491},{},[2492,2494,2500],{"type":45,"value":2493},"Confirm the target it authenticates to matches where the user's resources\nactually live. An OIDC ",{"type":39,"tag":146,"props":2495,"children":2497},{"className":2496},[],[2498],{"type":45,"value":2499},"roleArn",{"type":45,"value":2501}," names a specific AWS account — if it points\nat a different account (a shared workshop, an instructor role, another team),\nit is the wrong environment and will run operations against the wrong account\nor fail.",{"type":39,"tag":70,"props":2503,"children":2504},{},[2505],{"type":45,"value":2506},"Show the candidate to the user and confirm it is theirs and correct before\nusing it.",{"type":39,"tag":949,"props":2508,"children":2510},{"id":2509},"linking-an-environment-changes-which-credentials-operations-use-confirm-first",[2511],{"type":45,"value":2512},"Linking an environment changes which credentials operations use — confirm first",{"type":39,"tag":48,"props":2514,"children":2515},{},[2516,2521,2523,2529,2531,2536],{"type":39,"tag":146,"props":2517,"children":2519},{"className":2518},[],[2520],{"type":45,"value":1017},{"type":45,"value":2522}," edits the stack config (",{"type":39,"tag":146,"props":2524,"children":2526},{"className":2525},[],[2527],{"type":45,"value":2528},"Pulumi.\u003Cstack>.yaml",{"type":45,"value":2530},") and\nchanges the credentials Pulumi operations run under. Never run it without\nexplicit user confirmation, and never pass ",{"type":39,"tag":146,"props":2532,"children":2534},{"className":2533},[],[2535],{"type":45,"value":2330},{"type":45,"value":2537}," to skip that confirmation.\nTell the user what will change and let them decide.",{"type":39,"tag":949,"props":2539,"children":2541},{"id":2540},"verify-before-claiming-it-worked",[2542],{"type":45,"value":2543},"Verify before claiming it worked",{"type":39,"tag":48,"props":2545,"children":2546},{},[2547,2549,2555,2557,2562],{"type":45,"value":2548},"After linking, resolved credential values often show as ",{"type":39,"tag":146,"props":2550,"children":2552},{"className":2551},[],[2553],{"type":45,"value":2554},"[unknown]",{"type":45,"value":2556}," until the\nenvironment is opened or run. Do not claim the error is fixed or that the next\noperation will succeed until you have verified it — check ",{"type":39,"tag":146,"props":2558,"children":2560},{"className":2559},[],[2561],{"type":45,"value":2286},{"type":45,"value":2563},", and\nconfirm the credentials resolve to the expected account before declaring success.",{"type":39,"tag":949,"props":2565,"children":2567},{"id":2566},"quick-troubleshooting",[2568],{"type":45,"value":2569},"Quick troubleshooting",{"type":39,"tag":66,"props":2571,"children":2572},{},[2573,2589,2609],{"type":39,"tag":70,"props":2574,"children":2575},{},[2576,2581,2583],{"type":39,"tag":74,"props":2577,"children":2578},{},[2579],{"type":45,"value":2580},"\"Environment not found\"",{"type":45,"value":2582},": Check permissions with ",{"type":39,"tag":146,"props":2584,"children":2586},{"className":2585},[],[2587],{"type":45,"value":2588},"pulumi env ls -o \u003Corg>",{"type":39,"tag":70,"props":2590,"children":2591},{},[2592,2597,2598,2603,2604],{"type":39,"tag":74,"props":2593,"children":2594},{},[2595],{"type":45,"value":2596},"\"Secret decryption failed\"",{"type":45,"value":1944},{"type":39,"tag":146,"props":2599,"children":2601},{"className":2600},[],[2602],{"type":45,"value":989},{"type":45,"value":2264},{"type":39,"tag":146,"props":2605,"children":2607},{"className":2606},[],[2608],{"type":45,"value":969},{"type":39,"tag":70,"props":2610,"children":2611},{},[2612,2617,2619,2625,2627],{"type":39,"tag":74,"props":2613,"children":2614},{},[2615],{"type":45,"value":2616},"\"Stack can't read values\"",{"type":45,"value":2618},": Verify ",{"type":39,"tag":146,"props":2620,"children":2622},{"className":2621},[],[2623],{"type":45,"value":2624},"pulumi config env ls",{"type":45,"value":2626}," to ensure the stack is listed.\n",{"type":39,"tag":66,"props":2628,"children":2629},{},[2630,2635,2647],{"type":39,"tag":70,"props":2631,"children":2632},{},[2633],{"type":45,"value":2634},"Ensure the environment is referenced only by the project-name\u002Fenvironment-name format.",{"type":39,"tag":70,"props":2636,"children":2637},{},[2638,2640,2646],{"type":45,"value":2639},"Get the specific environment definition with ",{"type":39,"tag":146,"props":2641,"children":2643},{"className":2642},[],[2644],{"type":45,"value":2645},"pulumi env get \u003Corg>\u002F\u003Cproject-name>\u002F\u003Cenvironment-name>",{"type":45,"value":1708},{"type":39,"tag":70,"props":2648,"children":2649},{},[2650,2652,2657,2659,2664],{"type":45,"value":2651},"Verify the ",{"type":39,"tag":146,"props":2653,"children":2655},{"className":2654},[],[2656],{"type":45,"value":1113},{"type":45,"value":2658}," key exists and is nested under the ",{"type":39,"tag":146,"props":2660,"children":2662},{"className":2661},[],[2663],{"type":45,"value":1070},{"type":45,"value":2665}," key.",{"type":39,"tag":2667,"props":2668,"children":2669},"style",{},[2670],{"type":45,"value":2671},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":2673,"total":593},[2674,2692,2707,2720,2734,2749,2764],{"slug":2675,"name":2675,"fn":2676,"description":2677,"org":2678,"tags":2679,"stars":23,"repoUrl":24,"updatedAt":2691},"cloudformation-to-pulumi","migrate CloudFormation to Pulumi","Convert, migrate, or import AWS CloudFormation stacks or templates into Pulumi programs. Load this skill whenever a user wants to move from CloudFormation to Pulumi, convert a CFN template, import existing CloudFormation-managed resources into Pulumi, or asks about CloudFormation-to-Pulumi migration in any form. Also load when the user mentions cdk-importer in a migration context.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2680,2683,2686,2687,2690],{"name":2681,"slug":2682,"type":15},"AWS","aws",{"name":2684,"slug":2685,"type":15},"Deployment","deployment",{"name":21,"slug":22,"type":15},{"name":2688,"slug":2689,"type":15},"Migration","migration",{"name":9,"slug":8,"type":15},"2026-04-06T18:50:36.677615",{"slug":2693,"name":2693,"fn":2694,"description":2695,"org":2696,"tags":2697,"stars":23,"repoUrl":24,"updatedAt":2706},"package-usage","audit Pulumi package usage across stacks","Track which stacks across a Pulumi organization use a specific package and at what versions. Use for cross-stack audits, identifying outdated or unmaintained package versions across many stacks, finding affected stacks before publishing breaking changes to a component package, or planning coordinated upgrade rollouts. Do NOT use for upgrading a cloud provider package (pulumi-aws, pulumi-azure-native, pulumi-gcp, pulumi-kubernetes, etc.) in a single project — use skill `provider-upgrade` instead. Do NOT use for general infrastructure creation, resource provisioning, or how-to questions about a package.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2698,2701,2702,2705],{"name":2699,"slug":2700,"type":15},"Audit","audit",{"name":21,"slug":22,"type":15},{"name":2703,"slug":2704,"type":15},"Operations","operations",{"name":9,"slug":8,"type":15},"2026-07-24T05:37:48.019964",{"slug":2708,"name":2708,"fn":2709,"description":2710,"org":2711,"tags":2712,"stars":23,"repoUrl":24,"updatedAt":2719},"provider-upgrade","upgrade and reconcile Pulumi providers","Upgrade any Pulumi provider to a newer version and reconcile the resulting diff. Use when users want to upgrade or update a provider (including editing package.json, requirements.txt, pyproject.toml, go.mod, or Pulumi.yaml to bump a provider SDK), check for breaking changes before or during an upgrade, fix resources that broke after a provider upgrade, or resolve unexpected replacements, creates, or deletes in a post-upgrade preview. Applies to all providers (aws, azure-native, gcp, kubernetes, aws-native, cloudflare, datadog, etc.) — not just Tier 1. Do NOT use for querying which stacks use what package versions; use skill `package-usage` for cross-stack audits. Do NOT use for general infrastructure tasks.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2713,2716,2717,2718],{"name":2714,"slug":2715,"type":15},"DevOps","devops",{"name":21,"slug":22,"type":15},{"name":2688,"slug":2689,"type":15},{"name":9,"slug":8,"type":15},"2026-06-04T07:58:58.874758",{"slug":2721,"name":2721,"fn":2722,"description":2723,"org":2724,"tags":2725,"stars":23,"repoUrl":24,"updatedAt":2733},"pulumi-arm-to-pulumi","migrate Azure ARM to Pulumi","Convert or migrate Azure ARM (Azure Resource Manager) templates, Bicep templates, or code to Pulumi, including importing existing Azure resources. This skill MUST be loaded whenever a user requests migration, conversion, or import of ARM templates, Bicep templates, ARM code, Bicep code, or Azure resources to Pulumi.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2726,2729,2730,2731,2732],{"name":2727,"slug":2728,"type":15},"Azure","azure",{"name":2684,"slug":2685,"type":15},{"name":21,"slug":22,"type":15},{"name":2688,"slug":2689,"type":15},{"name":9,"slug":8,"type":15},"2026-04-06T18:50:35.384851",{"slug":2735,"name":2735,"fn":2736,"description":2737,"org":2738,"tags":2739,"stars":23,"repoUrl":24,"updatedAt":2748},"pulumi-automation-api","run Pulumi programs via Automation API","Load this skill when a user asks how to run Pulumi programmatically, embed Pulumi in an application, orchestrate multiple stacks in code, build a self-service infrastructure portal, replace pulumi CLI shell scripts with code, or use the Pulumi Automation API (LocalWorkspace, createOrSelectStack, inline programs). Also load for questions about multi-stack sequencing, parallel deployments, or passing outputs between stacks via code.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2740,2743,2746,2747],{"name":2741,"slug":2742,"type":15},"API Development","api-development",{"name":2744,"slug":2745,"type":15},"Automation","automation",{"name":21,"slug":22,"type":15},{"name":9,"slug":8,"type":15},"2026-06-04T07:59:00.113998",{"slug":2750,"name":2750,"fn":2751,"description":2752,"org":2753,"tags":2754,"stars":23,"repoUrl":24,"updatedAt":2763},"pulumi-best-practices","apply Pulumi best practices for infrastructure","Load when the user is writing, reviewing, or debugging Pulumi TypeScript\u002FPython programs; asks about Output\u003CT> or apply() usage; wants to create ComponentResource classes; needs to refactor resources without destroying them (aliases); is setting up secrets or config; or is configuring a pulumi preview\u002Fup CI workflow. Also load for questions about resource dependency order, parent\u002Fchild resource relationships, or pulumi.interpolate.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2755,2756,2757,2760],{"name":21,"slug":22,"type":15},{"name":9,"slug":8,"type":15},{"name":2758,"slug":2759,"type":15},"Python","python",{"name":2761,"slug":2762,"type":15},"TypeScript","typescript","2026-06-03T07:52:43.916562",{"slug":2765,"name":2765,"fn":2766,"description":2767,"org":2768,"tags":2769,"stars":23,"repoUrl":24,"updatedAt":2775},"pulumi-cdk-to-pulumi","migrate AWS CDK to Pulumi","Load this skill when a user wants to migrate, convert, port, translate, or move an AWS CDK application (including CDK stacks, constructs, or CloudFormation-synthesized templates) to Pulumi. Phrases such as \"convert CDK to Pulumi\", \"migrate CDK app\", \"port CDK stacks\", \"replace CDK with Pulumi\", \"stop using CDK\". Do NOT load for general CDK questions, CDK-only help, or CDK vs Pulumi comparisons where no migration is requested.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2770,2771,2772,2773,2774],{"name":2681,"slug":2682,"type":15},{"name":2684,"slug":2685,"type":15},{"name":21,"slug":22,"type":15},{"name":2688,"slug":2689,"type":15},{"name":9,"slug":8,"type":15},"2026-04-06T18:50:39.23999",{"items":2777,"total":593},[2778,2786,2793,2800,2808,2815,2822,2830,2845,2858,2865,2875],{"slug":2675,"name":2675,"fn":2676,"description":2677,"org":2779,"tags":2780,"stars":23,"repoUrl":24,"updatedAt":2691},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2781,2782,2783,2784,2785],{"name":2681,"slug":2682,"type":15},{"name":2684,"slug":2685,"type":15},{"name":21,"slug":22,"type":15},{"name":2688,"slug":2689,"type":15},{"name":9,"slug":8,"type":15},{"slug":2693,"name":2693,"fn":2694,"description":2695,"org":2787,"tags":2788,"stars":23,"repoUrl":24,"updatedAt":2706},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2789,2790,2791,2792],{"name":2699,"slug":2700,"type":15},{"name":21,"slug":22,"type":15},{"name":2703,"slug":2704,"type":15},{"name":9,"slug":8,"type":15},{"slug":2708,"name":2708,"fn":2709,"description":2710,"org":2794,"tags":2795,"stars":23,"repoUrl":24,"updatedAt":2719},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2796,2797,2798,2799],{"name":2714,"slug":2715,"type":15},{"name":21,"slug":22,"type":15},{"name":2688,"slug":2689,"type":15},{"name":9,"slug":8,"type":15},{"slug":2721,"name":2721,"fn":2722,"description":2723,"org":2801,"tags":2802,"stars":23,"repoUrl":24,"updatedAt":2733},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2803,2804,2805,2806,2807],{"name":2727,"slug":2728,"type":15},{"name":2684,"slug":2685,"type":15},{"name":21,"slug":22,"type":15},{"name":2688,"slug":2689,"type":15},{"name":9,"slug":8,"type":15},{"slug":2735,"name":2735,"fn":2736,"description":2737,"org":2809,"tags":2810,"stars":23,"repoUrl":24,"updatedAt":2748},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2811,2812,2813,2814],{"name":2741,"slug":2742,"type":15},{"name":2744,"slug":2745,"type":15},{"name":21,"slug":22,"type":15},{"name":9,"slug":8,"type":15},{"slug":2750,"name":2750,"fn":2751,"description":2752,"org":2816,"tags":2817,"stars":23,"repoUrl":24,"updatedAt":2763},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2818,2819,2820,2821],{"name":21,"slug":22,"type":15},{"name":9,"slug":8,"type":15},{"name":2758,"slug":2759,"type":15},{"name":2761,"slug":2762,"type":15},{"slug":2765,"name":2765,"fn":2766,"description":2767,"org":2823,"tags":2824,"stars":23,"repoUrl":24,"updatedAt":2775},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2825,2826,2827,2828,2829],{"name":2681,"slug":2682,"type":15},{"name":2684,"slug":2685,"type":15},{"name":21,"slug":22,"type":15},{"name":2688,"slug":2689,"type":15},{"name":9,"slug":8,"type":15},{"slug":2831,"name":2831,"fn":2832,"description":2833,"org":2834,"tags":2835,"stars":23,"repoUrl":24,"updatedAt":2844},"pulumi-component","author reusable Pulumi component resources","Guide for authoring Pulumi ComponentResource classes. Use when creating reusable infrastructure components, designing component interfaces, setting up multi-language support, or distributing component packages.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2836,2839,2842,2843],{"name":2837,"slug":2838,"type":15},"Architecture","architecture",{"name":2840,"slug":2841,"type":15},"Engineering","engineering",{"name":21,"slug":22,"type":15},{"name":9,"slug":8,"type":15},"2026-06-04T07:58:57.625622",{"slug":2846,"name":2846,"fn":2847,"description":2848,"org":2849,"tags":2850,"stars":23,"repoUrl":24,"updatedAt":2857},"pulumi-debug-failed-operation","debug failed Pulumi operations","Debug a Pulumi update or preview that failed: read the failure Pulumi already\nrecorded, find what caused it, and fix it. Load this skill when the user asks\nto debug, diagnose, or fix a failed update or preview, or points at a failing\n`pulumi up` or `pulumi preview`. Don't load it for authoring new\ninfrastructure, migrations, or provider upgrades; those have their own skills.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2851,2854,2855,2856],{"name":2852,"slug":2853,"type":15},"Debugging","debugging",{"name":2684,"slug":2685,"type":15},{"name":21,"slug":22,"type":15},{"name":9,"slug":8,"type":15},"2026-07-08T05:47:02.688144",{"slug":4,"name":4,"fn":5,"description":6,"org":2859,"tags":2860,"stars":23,"repoUrl":24,"updatedAt":25},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2861,2862,2863,2864],{"name":17,"slug":18,"type":15},{"name":21,"slug":22,"type":15},{"name":9,"slug":8,"type":15},{"name":13,"slug":14,"type":15},{"slug":2866,"name":2866,"fn":2867,"description":2868,"org":2869,"tags":2870,"stars":23,"repoUrl":24,"updatedAt":2874},"pulumi-overview","manage cloud infrastructure with Pulumi","Use this skill for any task that creates, modifies, inspects, or destroys cloud infrastructure or SaaS configuration, from one-off CLI operations to full multi-resource projects, across providers in the Pulumi ecosystem. A typical project spans many providers (AWS or Azure or GCP, Kubernetes, Cloudflare, Auth0, Datadog, Vercel, and others), and Pulumi drives them through one CLI, one state model, and one credential layer. Trigger even when the user does not name Pulumi; phrasings like \"deploy this app,\" \"provision a database,\" \"stand up a VPC,\" \"configure Auth0,\" \"set up Datadog monitoring,\" or \"tear down staging\" qualify. Also trigger for tasks that migrate, port, or convert existing infrastructure code (Terraform, CloudFormation, CDK, Bicep, ARM) to Pulumi. Do not trigger for application runtime code that reads or writes data via cloud SDKs; that is application code, not infrastructure.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2871,2872,2873],{"name":2684,"slug":2685,"type":15},{"name":21,"slug":22,"type":15},{"name":9,"slug":8,"type":15},"2026-06-03T07:52:39.333565",{"slug":2876,"name":2876,"fn":2877,"description":2878,"org":2879,"tags":2880,"stars":23,"repoUrl":24,"updatedAt":2888},"pulumi-terraform-to-pulumi","migrate Terraform to Pulumi","Migrate Terraform\u002FOpenTofu projects to Pulumi, including translating HCL source code and\u002For importing Terraform state into a Pulumi stack. Use when a user wants to convert Terraform to Pulumi, migrate from HCL, or import tfstate into Pulumi. Do NOT trigger for general Terraform-vs-Pulumi comparisons or questions about using both tools side-by-side.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2881,2882,2883,2884,2885],{"name":2684,"slug":2685,"type":15},{"name":21,"slug":22,"type":15},{"name":2688,"slug":2689,"type":15},{"name":9,"slug":8,"type":15},{"name":2886,"slug":2887,"type":15},"Terraform","terraform","2026-04-06T18:50:37.954346"]