If I have a stack created with inline program, can...
# general
b
If I have a stack created with inline program, can I run pulumi CLI to import some resource into it? I’m having issues because inline program does not create .yaml file.
e
Not really. We'd need to add import to the commands you can run against inline programs as part of the automation sdks.
I'd use the "ImportID" resource option for this instead, it's pretty similar.
b
Thanks, I assum in the case of Auth0 Client resource, this ID would be the Client ID, same as when importing via CLI?
e
yup
b
I’m getting some input mismatch error:
**importing failed** error: inputs to import do not match the existing resource
, is there any way to make the reporting more verbose in this inline program? The auth0 resource has quite a lot of fields for me to manually check
e
I think if you run with
preview --diff
it might show the differences
b
Is it possible to turn on --diff option when running the inline program?
e
PreviewOptions should have a
diff boolean?
property