CmdID

CmdID / Commands

pulumi-import

Import resources into an existing stack. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Import resources into an existing stack. Read syntax for your cloud provider: <https://www.pulumi.com/registry/>.

Generate the resource definition with a given name for an existing provider resource

pulumi import type_token name resource_idIdentify

Import an existing AWS user as a pulumi resource

pulumi import aws:iam/user:User my_user_resource resouce_idIdentify

Import an existing Cloudflare worker

pulumi import cloudflare:index/workersScript:WorkersScript my_worker_script account_id/script_nameIdentify

Import from a JSON file for bulk import operations and output to a file instead of stdout

pulumi import --file path/to/file.json --out path/to/fileIdentify