sparse-intern-71089
11/28/2023, 10:22 AMlittle-cartoon-10569
11/28/2023, 9:51 PMpulumi import
to put the resource in your state, or you use the import opt in your code for a single run or pulumi up
, then remove it.
Is this the case for your use-case? If it is, you shouldn't need to call getOutput or getOutputValue. Just use pulumi stack output
to get the value on the console, and write your import code using that.mammoth-father-63881
11/29/2023, 6:50 AMlittle-cartoon-10569
11/29/2023, 6:47 PMgetOutput()
. This won't affect the creation of the resource if you're not using this value for the name: outputs can be passed into the constructor's args parameter. Just don't use this value in the name parameter.little-cartoon-10569
11/29/2023, 6:49 PM