sparse-intern-71089
01/26/2022, 9:00 PMbored-table-20691
01/26/2022, 9:04 PMapply
.
It would look something like:
appsecrets.auth0clientid.apply(v => JSON.stringify({auth0clientid1: v}))
bored-table-20691
01/26/2022, 9:04 PMsecrestString
.bored-table-20691
01/26/2022, 9:05 PMstale-vase-87890
01/26/2022, 9:07 PMbored-table-20691
01/26/2022, 9:09 PMstale-vase-87890
01/26/2022, 9:12 PMbored-table-20691
01/26/2022, 9:14 PMbored-table-20691
01/26/2022, 9:14 PMstale-vase-87890
01/26/2022, 9:15 PMstale-vase-87890
01/26/2022, 9:23 PMconst auth0client = pulumi.all([appsecrets.auth0clientid, appsecrets.auth0]).apply(([clientid, auth]) => JSON.stringify({auth0clientid1: clientid, authclient:auth}))
It is ugly but it works now to add helpful comments so I remember what this does a week from now πbored-table-20691
01/26/2022, 9:24 PMechoing-dinner-19531
01/26/2022, 10:51 PMoutput({auth0lientid1: appsecrets.auth0clientid, authclient:appsecrets.auth0}).apply(JSON.stringify)