fast-sandwich-30809
06/04/2024, 9:08 PMworkspace.name.apply(name => `SecurityInsights(${name.toLowerCase()})`);
name
is an Output<string>
, or it should be, but I'm getting a runtime panic because undefined.toLowerCase
doesn't exist.
I'm ssh'd into the ci/cd server manually editing the compiled js, and name does indeed look like an object / Output<something>
, so I'm truly at a loss herelittle-cartoon-10569
06/04/2024, 9:32 PMname
without calling toLowerCase on it. It looks to me like that Output is wrapping undefinedfast-sandwich-30809
06/04/2024, 10:46 PMfast-sandwich-30809
06/04/2024, 10:48 PMpnpm
, and I enabled the split-pnpm-lockfile option to give each package its own pnpm-lock.yaml
file - this was going to help our build times whenever we added a new workspace - but I eventually figured out that this was the change that broke our pulumi previews/deploys. I "reverted" the change (added a new commit disabling the setting, and leaving a warning for my future self) and everything is right back up and running.fast-sandwich-30809
06/04/2024, 10:48 PMfast-sandwich-30809
06/04/2024, 10:49 PMgreat-sunset-355
06/06/2024, 3:18 PMpublic-hoist-pattern[]=@pulumi*
public-hoist-pattern[]=@aws-sdk*
public-hoist-pattern[]=@smithy*
the other option is to render JS first and then execute pulumi on rendered JSfast-sandwich-30809
06/06/2024, 6:49 PM