hundreds-stone-38001
02/23/2021, 10:27 PM$ pulumi import aws:lambda/function:Function my-imported-lambda MyLambdaOnAWS
Previewing import (dev)
View Live: <https://app.pulumi.com/.../import-test/dev/previews/>...
Type Name Plan Info
+ pulumi:pulumi:Stack import-test-dev create 1 error
= └─ aws:lambda:Function my-imported-lambda import 1 error
Diagnostics:
aws:lambda:Function (my-imported-lambda):
error: Preview failed: diffing urn:pulumi:dev::import-test::aws:lambda/function:Function::my-imported-lambda: handler and runtime must be set when PackageType is Zip
pulumi:pulumi:Stack (import-test-dev):
error: preview failed
Any suggestion on how to deal with the error "handler and runtime must be set when PackageType is Zip"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