Any idea why I might be getting this error? ``` p...
# python
w
Any idea why I might be getting this error?
Copy code
pulumi-python:dynamic:Resource (GeneratedTemporaryPlatformSSHKey):
    error: Exception calling application: There is no current event loop in thread 'ThreadPoolExecutor-0_0'.
It was because I was trying to use
Output.secret
in
create
. Not sure how to do this properly. Should it be something like this in
__init__
?
Copy code
ResourceOptions.merge(opts, ResourceOptions(additional_secret_outputs=['private_key', 'passphrase'])),