File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ # pulumi import
2
+
3
+ > Import resources into an existing stack.
4
+ > Read syntax for your cloud provider: < https://www.pulumi.com/registry/ > .
5
+ > More information: < https://www.pulumi.com/docs/iac/cli/commands/pulumi_import/ > .
6
+
7
+ - Generate the resource definition with a given name for an existing provider resource:
8
+
9
+ ` pulumi import {{type_token}} {{name}} {{id}} `
10
+
11
+ - Import an existing AWS user as a ` pulumi ` resource:
12
+
13
+ ` pulumi import aws:iam/user:User {{my_user_resource}} {{id}} `
14
+
15
+ - Import an existing Cloudflare worker:
16
+
17
+ ` pulumi import cloudflare:index/workersScript:WorkersScript {{my_worker_script}} {{account_id/script_name}} `
18
+
19
+ - Import from a JSON file for bulk import operations and output to a file instead of ` stdout ` :
20
+
21
+ ` pulumi import --file {{path/to/file.json}} --out {{path/to/file}} `
You can’t perform that action at this time.
0 commit comments