Channels
announcements
automation-api
aws
azure
blog-posts
built-with-pulumi
cloudengineering
cloudengineering-support
content-share
contribex
contribute
docs
dotnet
finops
general
getting-started
gitlab
golang
google-cloud
hackathon-03-19-2020
hacktoberfest
install
java
jobs
kubernetes
learn-pulumi-events
linen
localstack
multi-language-hackathon
office-hours
oracle-cloud-infrastructure
plugin-framework
pulumi-ai
pulumi-cdk
pulumi-cloud
pulumi-crosscode
pulumi-deployments
pulumi-kubernetes-operator
pulumiverse
python
registry
status
testingtesting123
testingtesting321
typescript
welcome
workshops
yaml
Powered by
Title
h
happy-garage-50771
12/15/2022, 12:36 AM
Hi all, do we have an equivalent of
pulumi import
in the Typescript's Automation API?
m
millions-furniture-75402
12/15/2022, 4:14 PM
Doesn't look like it's supported yet, which is interesting
https://github.com/pulumi/pulumi/issues/8237
I say it's interesting because the automation API is simply a wrapper for the CLI
https://github.com/pulumi/pulumi/blob/master/sdk/nodejs/automation/cmd.ts#L64
h
happy-garage-50771
12/15/2022, 5:12 PM
Yeah, it’s interesting. Do you know if there is a workaround (other than using the CLI directly) to get
import
from the API?
m
millions-furniture-75402
12/15/2022, 5:17 PM
I believe there is one in that issue
h
happy-garage-50771
12/15/2022, 5:26 PM
Ahh yeah, thanks. I will take a look
Got it to work 🙂 Thanks for the help
@millions-furniture-75402
!
#automation-api
Join Slack