flat-appointment-12338
10/21/2021, 3:03 PMError: Secret outputs cannot be captured by a closure.
config.requireSecret(...)
as a parameterwitty-candle-66007
10/21/2021, 4:40 PMconfig.requireSecret()
is passed as an input.
https://github.com/MitchellGerdisch/pulumi-work/tree/master/pulumi-auditlog-exportflat-appointment-12338
10/21/2021, 4:56 PMconfig.requireSecret
has a result of type Output<string>
(which it is, immediately after calling requireSecret
) but when it gets passed into my provider implementation, it is no longer a Output<string>
.. it is a string
and from your example, i found that I can just stick it right into an interpolated string and it worksOutput
was resolved prior to calling my providers implementationwitty-candle-66007
10/21/2021, 7:56 PM