This message was deleted.
# general
s
This message was deleted.
b
firstly, I’d recommend using
requireOutput
to ensure there’s actually a value there then
pulumi.log
should work
a
i switched to
requireOutput
, the following log statement doesn't output anything
Copy code
pulumi.log.debug(`${oidcProviderArn}`)
Could it be that logging doesn't work on this type
pulumi.Output<any>
?
b
you need to resolve the output with an apply, but don’t think that should be necessaru for log.debu
you could just export the const
Copy code
export const oidcProviderArn = ....
a
thanks, the export trick worked