I wonder if there are any plans for the "import" field (in the opts of resources) to support Outputs and not only string?
loud-chef-23210
03/01/2024, 4:34 PM
It can be useful to allow passing output of string you don't know of at the moment, but will reveal during runtime.
loud-chef-23210
03/01/2024, 7:53 PM
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
loud-chef-23210
03/01/2024, 7:54 PM
A flag to do that will be even better, but than the question - what is an existing resource? same name? same ID/URN? etc...