sincecutoff.com
← all changes

pulumi import --preview-only emits generated resource code

Introduced 2026-11-04 · score 0.91

HOW TO USE IT

When you need to inspect generated code without importing the resource, run `pulumi import` with `--preview-only`.

pulumi import '<type-token>' <name> <id> --preview-only

WHY THIS HELPS

Inspect generated resource code from an import preview without applying the import.

REQUIREMENTS AND LIMITATIONS

  • Version: 3.274.0
  • --preview-only: Show the import preview without performing the import.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card