aws terraform
AWS Lambda, a part of Amazon Web Services (AWS) is a serverless computing service that works as FaaS (Function as a Service). A FaaS is a service which provides users to develop and manage application service without thinking about infrastructure.
AWS Lambda是Amazon Web Services(AWS)的一部分,是一种无服务器计算服务,用作FaaS(功能即服务) 。 FaaS是一项服务,可为用户提供开发和管理应用程序服务的功能,而无需考虑基础架构。
Terraform is an Infrastructure as Code (IaC) tool which is developed by Hasi Corp to manage resources of cloud services like AWS, Google Cloud, Azure, etc. It is open-source and developed by golang.
Terraform是Hasi Corp开发的基础结构即代码( IaC )工具,用于管理AWS,Google Cloud,Azure等云服务的资源。它是开源的,由golang开发。
It is always challenging to zip the codes and upload them for AWS Lambda every time at the time of deployment. The more complex part is to upload codes of libraries e.g python libraries. At Craftsmen, we need to manage a lot of lambdas for various development purposes. So a smart solution for uploading lambda function code and libraries while deployment is a crying need.
每次部署时,每次压缩邮政编码并为AWS Lambda上载它们始终是一个挑战。 更复杂的部分是上传库代码,例如python库。 在Craftsmen中 ,我们需要为各种开发目的管理大量的lambda。 因此,在部署时迫切需要一种用于上传lambda函数代码和库的智能解决方案。
Our approach is to upload function codes as function level and libraries in lambda layer. The reasons are 1. Share python libraries between lambdas2. The console code editor can onl