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

loud-chef-23210

03/01/2024, 4:34 PM
I wonder if there are any plans for the "import" field (in the opts of resources) to support Outputs and not only string?
It can be useful to allow passing output of string you don't know of at the moment, but will reveal during runtime.
Here is what I actually need, hence I thought being able to pass on the output of a get function will allow to create if missing and import if exists already: https://github.com/pulumi/pulumi/issues/3388
A flag to do that will be even better, but than the question - what is an existing resource? same name? same ID/URN? etc...