hi All, x=pulumi.FileArchive("./main.zip") # ...
# getting-started
h
hi All, x=pulumi.FileArchive("./main.zip") # create lambda function lambda_function = lambda_.Function( "name", description="cleanup data", code=x, role=role_for_lambda.arn, handler="handler", runtime="go1.x") stderr: error: unexpected Asset Archive property value for "code"
1
b
Does this still error if you call pulumi.FileArchive in the lambda? Something like this:
Copy code
code=pulumi.FileArchive("main.zip")
h
yep ... same error
found out that I was using the wrong lambda imported from pulumi