able-artist-91005
02/17/2023, 5:22 PMconst oidcProvider = new pulumi.StackReference(`org/project/${awsAccount}`);
const oidcProviderArn = oidcProvider.getOutput('arn');
console.log(oidcProviderArn)
billowy-army-68599
02/17/2023, 5:24 PMrequireOutput
to ensure there’s actually a value there
then pulumi.log
should workable-artist-91005
02/17/2023, 5:34 PMrequireOutput
, the following log statement doesn't output anything
pulumi.log.debug(`${oidcProviderArn}`)
Could it be that logging doesn't work on this type pulumi.Output<any>
?billowy-army-68599
02/17/2023, 5:35 PMexport const oidcProviderArn = ....
able-artist-91005
02/17/2023, 5:42 PM