Hi folks, I'm trying to deploy AWS Lambda function...
# aws
t
Hi folks, I'm trying to deploy AWS Lambda function within a VPC. I use Python, but when I call
pulumi_aws.lambda_.FunctionVpcConfigArgs
as per the documentation, I get an error
AttributeError: module 'pulumi_aws.lambda_' has no attribute 'FunctionVpcConfigArgs'
. Has anyone managed to deploy AWS Lambda function within a VPC before?
I just realised I was using pretty old version of
pulumi_aws
package, which didn't have
FunctionVpcConfigArgs
implemented yet. Upgraded to
v3.5.0
and all works fine now.
Hope this saves someone some time :)