ARCHITECTURE
NOTE
- deployer-lambda directory in the repository contains the code for the Lambda function which will be used to deploy another Lambda function.
- It requires the role for the lambda function which has the permission for both S3 and Lambda.
- It also contains S3 Payload Put Event.
- lambda-code directory in the repository contains the code of the Lambda function that needs to be deployed.
- It contains a buildspec.yml file, which will be used by AWS Codebuild to build the code and store the artificts in the zip format in an S3 Bucket.
- This zip file will be fetched by the deployer_lambda function and will deploy the function from the zip file.
Important Links