Channels
esc
welcome
pulumi-cdk
cloudengineering
yaml
blog-posts
localstack
pulumi-ai
package-authoring
policy-as-code
pulumiup-booth-support
oracle-cloud-infrastructure
learn-pulumi-events
linen
registry
built-with-pulumi
pulumi-cloud
contribex
testingtesting321
hacktoberfest
pulumi-crosscode
content-share
finops
multi-language-hackathon
office-hours
workshops
gitlab
general
pulumi-kubernetes-operator
jobs
pulumi-deployments
dotnet
aws
golang
announcements
java
pulumiverse
python
install
getting-started
cloudengineering-support
testingtesting123
hackathon-03-19-2020
typescript
google-cloud
contribute
azure
kubernetes
docs
automation-api
status
Powered by
#general
Title
# general
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
Post