Skip to content

Fork and add TF12, Codebuild, and layer support#2

Merged
eyablonowitz merged 14 commits intopp_masterfrom
layer
Feb 20, 2020
Merged

Fork and add TF12, Codebuild, and layer support#2
eyablonowitz merged 14 commits intopp_masterfrom
layer

Conversation

@eyablonowitz
Copy link
Copy Markdown

@eyablonowitz eyablonowitz commented Feb 19, 2020

This module is forked from one created by the author of this blog post - https://amido.com/blog/terraform-does-not-need-your-code-to-provision-a-lambda-function/

The main purpose of using this module is to use Terraform to create Lambda resources but to host the Lambda code in another Git repo and deploy it using external CI.

I've updated the module as follows:\

  • Terraform v.12 compatibility
  • Optional Codebuild job to deploy Lambda code with buildspec in the Lambda repo
  • Added support for managing layers. Like functions, the intent is for layer code to be deployed by external CI (e.g. the optional included CodeBuild)

@eyablonowitz eyablonowitz force-pushed the layer branch 2 times, most recently from 48fb09c to 4c08096 Compare February 19, 2020 12:00
Copy link
Copy Markdown

@terrancej terrancej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good a couple changes in the above comments. Potentially could be more to come once all wired up. Awesome job!

Comment thread README.md Outdated
Comment thread lambda_function/outputs.tf
Comment thread lambda_function/ci.tf Outdated
@eyablonowitz eyablonowitz force-pushed the layer branch 2 times, most recently from f735b61 to 4f8ad9e Compare February 20, 2020 11:30
Copy link
Copy Markdown

@terrancej terrancej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM; layers work beautifully, i havent fully tested my function but looking to migrate to this module sometime today.

@eyablonowitz eyablonowitz merged commit 76502d1 into pp_master Feb 20, 2020
@eyablonowitz eyablonowitz deleted the layer branch February 20, 2020 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants