sparse-intern-71089
02/05/2020, 6:37 PMtall-librarian-49374
02/05/2020, 7:48 PMgreen-school-95910
02/05/2020, 9:32 PMexport const getSigningKey = (
secretKey: string | pulumi.Output<string>,
region: pulumi.Output<digitalocean.Region> | pulumi.Output<aws.Region>
) => {...};
green-school-95910
02/05/2020, 9:33 PMgreen-school-95910
02/05/2020, 10:11 PMpulumi.Input
as it includes passing the internal type directly or with a promise. Then in your function you can use pulumi.output(region)
bitter-dentist-28132
02/10/2020, 5:40 PM