https://pulumi.com logo
#aws
Title
# aws
t

thankful-baker-35507

10/03/2020, 12:27 PM
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 :)