Does this `import` option currently exist in Pulum...
# general
q
Does this
import
option currently exist in Pulumi or is it just planned? https://www.pulumi.com/blog/adopting-existing-cloud-resources-into-pulumi/#adopting-existing-resources
h
it exists and is in the API docs
w
Yep - it exists for both JavaScript and Python.
q
weird
I’m getting an error about it not being available on
CustomResourceOptions
w
Share the full error message?
q
v1.0.0-beta.2
w
I suspect you must have an old version of some package installed.
q
ah
w
Check your
package-lock.json
to see if there are any old version perhaps?
q
sure, I’ll do that
For reference, full message is
Copy code
Argument of type ‘{ provider: Provider; import: string; }’ is not assignable to parameter of type ‘CustomResourceOptions’.
      Object literal may only specify known properties, and ‘import’ does not exist in type ‘CustomResourceOptions’.
w
Yeah - the definitely means there's an older package in the mix.
h
I've made that mistake repeatedly--update the pulumi binaries and forgetting to update the pulumi language packages
q
roger; thanks gents
@white-balloon-205 after updating my libraries, pulumi is now trying to delete/create a bunch of already existing resources