Rename pulumi cloud api references to pulumi api#18917
Conversation
The CLI command introduced in #18714 was renamed from `pulumi cloud api` to top-level `pulumi api`. Update the narrative guide, all cross-links, the llms.txt agent entry, and remove the now-stale auto-generated command pages (they'll regenerate under the new name on the next CLI version bump). The narrative guide moves from /docs/iac/cli/cloud-api/ to /docs/iac/cli/api/, with an alias preserving the old URL.
Docs review for #18917SummaryThe rename is applied consistently. I grepped for stale Issues1. Internal links to the auto-generated command pages will 404 until the CLI version bump (acknowledged in PR description). The renamed guide and several other pages link to command-reference pages that don't yet exist in the repo:
These pages are regenerated by CLI codegen, so the broken-link window is expected. The PR description already notes this — just want to make sure the PR isn't merged before the version bump regenerates them. 2. Minor: page title is still In 3. Manual scrub of auto-generated
Looks good
Mention me (@claude) if you'd like another pass once the CLI version bump lands and the |
Review:
|
The pulumi cloud namespace was added in #18803 solely to host the api subcommand. With api promoted to a top-level pulumi api, the namespace has no remaining subcommands and won't be regenerated by codegen on the next CLI version bump.
|
@fallimic can you give this a look? there's a lot of auto-generation happening that I'm not familiar with. |
|
Your site preview for commit 3340a79 is ready! 🎉 http://www-testing-pulumi-docs-origin-pr-18917-3340a79e.s3-website.us-west-2.amazonaws.com |
Lighthouse Performance ReportCommit: 3340a79 | Metric definitions
|
|
I have this one already. Just waiting for the next cli release to ship it #18887 |
Proposed changes
The CLI command introduced in #18714 was renamed from
pulumi cloud apito top-levelpulumi api. This PR updates the docs to match:/docs/iac/cli/cloud-api/to/docs/iac/cli/api/, with an alias preserving the old URL./llms.txt.pulumi_cloud_api*.md). The renamed files (pulumi_api*.md) will be produced by codegen on the next CLI version bump.apisubcommand references from the auto-generatedpulumi_cloud.mdpage.One thing left untouched: the cache directory path in the guide (
\$PULUMI_HOME/cloud-api-cache/<host>/spec.json) is a filesystem path inside the CLI, not the command name. I didn't have visibility into whether the rename also moved the cache directory, so left it as-is.Unreleased product version (optional)
Depends on the CLI release that renames
pulumi cloud apitopulumi api. Hold until the version bump regeneratescontent/docs/iac/cli/commands/pulumi_api*.md.Related issues (optional)
Follow-up to #18714.