jolly-megabyte-6233
01/03/2025, 1:26 PM@xxx/yyy:deploy: Diagnostics:
@xxx/yyy:deploy: pulumi:pulumi:Stack (xxx-yyy):
@xxx/yyy:deploy: Downloading provider: aws
@xxx/yyy:deploy: error: Unhandled exception: Error: package.json export path for "@aws-sdk/core/node_modules/@smithy/protocol-http/dist-cjs/index.js" not found
@xxx/yyy:deploy: at ModuleMap.get (/home/runner/work/core/core/node_modules/@pulumi/runtime/closure/package.ts:220:19)
@xxx/yyy:deploy: at Object.getModuleFromPath (/home/runner/work/core/core/node_modules/@pulumi/runtime/closure/package.ts:273:35)
@xxx/yyy:deploy: at /home/runner/work/core/core/node_modules/@pulumi/runtime/closure/createClosure.ts:1404:19
@xxx/yyy:deploy: at Generator.next (<anonymous>)
@xxx/yyy:deploy: at /home/runner/work/core/core/node_modules/@pulumi/pulumi/runtime/closure/createClosure.js:21:71
@xxx/yyy:deploy: at new Promise (<anonymous>)
@xxx/yyy:deploy: at __awaiter (/home/runner/work/core/core/node_modules/@pulumi/pulumi/runtime/closure/createClosure.js:17:12)
@xxx/yyy:deploy: at captureModuleAsync (/home/runner/work/core/core/node_modules/@pulumi/pulumi/runtime/closure/createClosure.js:940:20)
@xxx/yyy:deploy: at /home/runner/work/core/core/node_modules/@pulumi/runtime/closure/createClosure.ts:1097:19
@xxx/yyy:deploy: at Generator.next (<anonymous>)
@xxx/yyy:deploy: error: One or more errors occurred: package.json export path for "@aws-sdk/core/node_modules/@smithy/protocol-http/dist-cjs/index.js" not found
The dynamic resource provider makes use of the aws sdk (or rather: That's what I'd like to do).
It seems that something breaks when the function serialization tries to package the resource provider, right?No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by