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
package-authoring
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
m
mammoth-art-6111
03/03/2022, 4:27 PM
anyone know if it's possible to target an import? i.e. run a pulumi up -t
not-yet-in-pulumi-but-in-code-resource
e
echoing-dinner-19531
03/03/2022, 4:54 PM
Are you using the ResourceOptions.import method to do the import?
Because --target should work for that afaik
m
mammoth-art-6111
03/03/2022, 4:57 PM
yeah i am
what should the value of target be? i'm using the name i'm supplying it in the constructor
obviously it doesn't have a URN yet
e
echoing-dinner-19531
03/03/2022, 5:05 PM
Oh wait no your going to hit the target doesn't support non-existing things 🤦♂️ sorry let me find the issue for this
https://github.com/pulumi/pulumi/issues/8956
m
mammoth-art-6111
03/03/2022, 5:11 PM
thank you for linking that to me
#general
Join Slack