https://pulumi.com logo
#python
Title
# python
w

worried-queen-62794

10/11/2020, 10:14 PM
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'])),
30 Views