Thread
#kotless
    Martin Wenisch

    Martin Wenisch

    2 years ago
    Hi, I'm testing kotless generated tf for new project and I have need for
    vpc_config
    setting in my
    resource "aws_lambda_function" "merged_0"
    . Right now I'm solving it by using
    <http://override.tf|override.tf>
    file for deployment (which limits me to
    MergeLambda.All
    ). Is there better way how to integrate Lambdas into VPC? Also, I wonder if there is interest for PR with
    vpc_config
    integrated into
    LambdaFunction
    and
    LambdaFactory
    as it might be worth solving it by custom patch. Thank you.
    TanVD

    TanVD

    2 years ago
    Yeah, we a definitely interested in such PR 😃
    As for current state of VPC support — we did not add it due to significant time of cold start for VPC based lambda (because of ENI). I just was not sure, that anyone may need it
    Martin Wenisch

    Martin Wenisch

    2 years ago
    Thank you, the use-case here is that some of our Lambdas needs to access resources via gateway located inside VPC (needs to utilize VPC routing). As for the Lambda/VPC issue, it was fully solved by the end of 2019 (according to AWS) 🙂
    TanVD

    TanVD

    2 years ago
    Oh, nice to hear. So, if you'll be able -- PR is very appreciated. I'll be able to push it to the 0.1.4 release along with Spring support