Importing aws:lambda:/function:Function resource inputs failed to validate #2859
Labels
kind/bug
Some behavior is incorrect or out of spec
resolution/duplicate
This issue is a duplicate of another issue
What happened?
When I try to import an aws:lambda/function:Function resource I receive warnings that one of 'filename, image_uri or s3_bucket' values must be set for 'S3Bucket, imageUri or code'. The resource does import succesfully and gives me the output code for it but execution fails with the following errors:
Example
This is the output when I import the Lambda Function resource:
And this is the output when I try to execute the code using a 'pulumi preview':
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: