Skip to content

Donngi/terraform-example-codedeploy-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimum example of terraform - CodeDeploy + Lambda.

Deployment process

First, terraform provisions all resources.

Step1

When provisioning is completed and Lambda is updated, terraform triggers CodeDeploy to update Lambda version tied to specific alias.

Step2

In this step, you can choose deployment method below.

  • Blue/Green
  • Canary
  • All at once

Code structure

terraform
├── env
│   └── example
│       ├── aws.tf
│       └── main.tf
└── module
    ├── codedeploy
    │   ├── codedeploy.tf
    │   ├── iam.tf
    │   ├── temp.yml
    │   └── variables.tf
    └── lambda
        ├── iam.tf
        ├── lambda.tf
        ├── output.tf
        ├── src
        │   └── main.py
        ├── upload
        │   └── lambda.zip
        └── variables.tf

About

Minimum example of codedeploy with lambda

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published