sparse-intern-71089
08/31/2023, 10:40 PMlittle-cartoon-10569
08/31/2023, 11:05 PMlittle-cartoon-10569
08/31/2023, 11:06 PMpulumi.all([x]).apply([x] => ...)
is exactly the same as x.apply()
. Also, pulumi.interpolate
is sugar around x.apply()
, when you're only generating a string.dry-pilot-49577
08/31/2023, 11:09 PM.appId
property in the stdout JSON
It just... never makes it into the environment of the second command which has truly perplexed me.
I originally had environment as { APP_ID: cloud.appId }
but that also wasn't working.dry-pilot-49577
08/31/2023, 11:11 PMdry-pilot-49577
08/31/2023, 11:17 PMError: Undefined struct type
)
01 - this file is the application (the cloud from previous). In its stdout from local.Command
is the property we pass onward (appId)
02 - an example of a downstream dependency on the app object. It's here where MONGO_APP_ID
comes up undefined, causing fromEnv()
to fail safely and avoid writing undefined values into the state
03 - The glue, a Component Resource, showing the stitching from the app object to the othersdry-pilot-49577
08/31/2023, 11:20 PMdry-pilot-49577
08/31/2023, 11:47 PMlittle-cartoon-10569
08/31/2023, 11:47 PMdry-pilot-49577
08/31/2023, 11:48 PMlittle-cartoon-10569
08/31/2023, 11:48 PMdry-pilot-49577
08/31/2023, 11:52 PMlittle-cartoon-10569
08/31/2023, 11:54 PMdry-pilot-49577
08/31/2023, 11:57 PM