sst
sst copied to clipboard
SST build fails with aws v6.55.0: TypeError: pulumi.runtime.invokeOutput
SST fails all builds with AWS provider v6.55.0 suggesting a breaking change from pulumi
Running program '/tmp/repo/.sst/platform/sst.config.1728432990406.mjs' failed with an unhandled exception:
TypeError: pulumi.runtime.invokeOutput is not a function
at getPartitionOutput (/tmp/repo/.sst/platform/node_modules/@pulumi/getPartition.ts:89:27)
at normalizePartition (file:///tmp/repo/.sst/platform/src/components/aws/ssr-site.ts:369:12)
at prepare (file:///tmp/repo/.sst/platform/src/components/aws/ssr-site.ts:347:21)
at new Nextjs (file:///tmp/repo/.sst/platform/src/components/aws/nextjs.ts:506:45)
at run (file:///tmp/repo/sst.config.ts:14:5)
at run (file:///tmp/repo/.sst/platform/src/auto/run.ts:32:26)
at file:///tmp/repo/eval.ts:4:28
at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
at ModuleLoader.import (node:internal/modules/esm/loader:337:24)
at importModuleDynamicallyWrapper (node:internal/vm/module:432:15)
19:16:31.398
Stage: prod
19:16:31.398
~ Deploy
19:16:43.442
| Info Downloading provider aws v6.52.0
19:16:43.442
| Info Downloading provider aws v6.55.0
19:17:05.332
| Error
19:17:05.332
| TypeError: pulumi.runtime.invokeOutput is not a function
19:17:05.332
| at getPartitionOutput (/tmp/repo/.sst/platform/node_modules/@pulumi/getPartition.ts:89:27)
19:17:05.332
| at normalizePartition (file:///tmp/repo/.sst/platform/src/components/aws/ssr-site.ts:369:12)
19:17:05.332
| at prepare (file:///tmp/repo/.sst/platform/src/components/aws/ssr-site.ts:347:21)
19:17:05.332
| at new Nextjs (file:///tmp/repo/.sst/platform/src/components/aws/nextjs.ts:506:45)
19:17:05.332
| at run (file:///tmp/repo/sst.config.ts:14:5)
19:17:05.332
| at run (file:///tmp/repo/.sst/platform/src/auto/run.ts:32:26)
19:17:05.332
| at file:///tmp/repo/eval.ts:4:28
19:17:05.332
| at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
19:17:05.332
| at ModuleLoader.import (node:internal/modules/esm/loader:337:24)
19:17:05.332
| at importModuleDynamicallyWrapper (node:internal/vm/module:432:15)
19:17:05.332
✕ Failed
19:17:05.332
TypeError: pulumi.runtime.invokeOutput is not a function
19:17:05.332
at getPartitionOutput (/tmp/repo/.sst/platform/node_modules/@pulumi/getPartition.ts:89:27)
19:17:05.332
at normalizePartition (file:///tmp/repo/.sst/platform/src/components/aws/ssr-site.ts:369:12)
19:17:05.332
at prepare (file:///tmp/repo/.sst/platform/src/components/aws/ssr-site.ts:347:21)
19:17:05.332
at new Nextjs (file:///tmp/repo/.sst/platform/src/components/aws/nextjs.ts:506:45)
19:17:05.332
at run (file:///tmp/repo/sst.config.ts:14:5)
19:17:05.332
at run (file:///tmp/repo/.sst/platform/src/auto/run.ts:32:26)
19:17:05.332
at file:///tmp/repo/eval.ts:4:28
19:17:05.332
at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
19:17:05.332
at ModuleLoader.import (node:internal/modules/esm/loader:337:24)
19:17:05.332
at importModuleDynamicallyWrapper (node:internal/vm/module:432:15)
19:17:05.332
Error: Failed to run: node_modules/.bin/sst deploy --stage prod
19:17:05.332
at shell (file:///tmp/buildspec/index.mjs:242:13)
19:17:05.332
at deploy (file:///tmp/buildspec/index.mjs:193:5)
19:17:05.332
at workflow (file:///tmp/buildspec/index.mjs:161:59)
19:17:05.332
at async runWorkflow (file:///tmp/buildspec/index.mjs:164:5)
19:17:05.332
at async handler (file:///tmp/buildspec/index.mjs:48:5)
19:17:05.332
at async file:///tmp/buildspec/[eval1]:1:122
If you've already posted your issue on Discord, make sure to leave a link to it here.