https://pulumi.com logo
#general
Title
# general
f

fierce-bird-8909

09/21/2023, 1:51 PM
Hi is there somewhere an example how to use the automation api in typescript specifically importStack. For example i want to import this into the stack https://www.pulumi.com/registry/packages/auth0/api-docs/tenant/
e

echoing-dinner-19531

09/21/2023, 2:07 PM
I don't think importing resources is exposed in automation api
f

fierce-bird-8909

09/21/2023, 2:23 PM
i just found i have to add the import id to the resource class it self in the resource options
Copy code
const myTenant = new auth0.Tenant("myTenant", {
    allowedLogoutUrls: ["<http://example.com/logout>"],
   
}, {import: "1234" });