content(iac): split dynamic providers into a concepts page and an authoring guide#19361
content(iac): split dynamic providers into a concepts page and an authoring guide#19361jkodroff wants to merge 1 commit into
Conversation
|
Your site preview for commit 0b8b360 is ready! 🎉 http://www-testing-pulumi-docs-origin-pr-19361-0b8b3608.s3-website.us-west-2.amazonaws.com |
…horing guide Resolves #19358. The dynamic providers concepts page mixed conceptual material with how-to content. This splits it: - Concepts (`/docs/iac/concepts/providers/dynamic-providers/`) keeps the explanation of what a dynamic provider is, when to use one, a consolidated Limitations section, and how it executes. - A new guide, "Author a Dynamic Provider" (`/docs/iac/guides/building-extending/providers/dynamic-providers/`), covers when to choose a dynamic provider over the alternatives, the full resource provider interface, strongly typed inputs and outputs, credential handling, and complete TypeScript and Python examples. Also extends the dynamic-github-labels example programs with `check` and `diff` methods so a single example demonstrates the entire interface (#11577), and surfaces the strongly typed inputs/outputs patterns prominently in the guide (#12151). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
3197b69 to
0b8b360
Compare
Pre-merge Review — Last updated 2026-05-22T21:47:36ZTip Summary: This PR splits the dynamic-providers concepts page into two: a trimmed concepts page (what a dynamic provider is, when to use one, a consolidated Limitations section, how it executes) and a new authoring guide under Review confidence:
Investigation log
🔍 Verification trail115 claims extracted · 84 verified · 18 unverifiable · 6 contradicted
|
continued from previous comment
🚨 Outstanding in this PRThese must be resolved or refuted before merging. No outstanding blockers in the touched lines.
|
Resolves #19358.
What
The dynamic providers concepts page had grown to ~730 lines and mixed two jobs: explaining what a dynamic provider is and how to author one. This PR splits it.
/docs/iac/concepts/providers/dynamic-providers/is trimmed to conceptual material only: what a dynamic provider is, when to use one, the caveats (pnpm, Bun, policy packs), and how it executes (two-phase execution / function serialization).Author a Dynamic Providerat/docs/iac/guides/building-extending/providers/dynamic-providers/covers the how-to: when to choose a dynamic provider over the alternatives (full provider, Command provider) with a decision diagram, the full resource provider interface, strongly typed inputs and outputs, credential handling, and complete TypeScript and Python examples.Issue requirements
dynamic-github-labelsexample program.dynamic-github-labelsis extended withcheckanddiffso one example demonstratesconfigure/check/create/diff/update/delete(Please include examples for all dynamic provider functions (python) #11577).Testing
make lintpasses.make buildsucceeds; both pages render and allexample-program-snippetblocks resolve.ONLY_TEST="dynamic-github-labels" ./scripts/programs/test.shpasses for both the TypeScript and Python programs (preview exercises the newcheckmethod).🤖 Generated with Claude Code