https://kotlinlang.org logo
#kotless
Title
# kotless
m

Martin Wenisch

02/05/2020, 10:17 AM
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.
t

TanVD

02/05/2020, 10:40 AM
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
m

Martin Wenisch

02/05/2020, 10:54 AM
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) 🙂
t

TanVD

02/05/2020, 10:27 PM
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
3 Views