/terraform-aws-codepipeline-ci-cd

Deploying CI/CD Pipeline on AWS using CodePipeline, CodeBuild, CodeStar Connection and terraform.

Primary LanguageHCL

Developing A Terraform CI/CD for AWS.

Using the following technologies:

  • An AWS fully managed continues delivery service.
  • it's used in our project to handle Two Stages:
    • Source Stage --> "This stage handles the download of source code from the Github Repository."
    • Approve Stage --> "This stage handles the approve or rejection of the changes made in the commit pushed to the Github Repository."
  • An AWS fully managed continues integration service.
  • it's used in our project to handle Two Stages:
    • Plan Stage --> "This stage handles plan generation for our terraform code."
    • Apply Stage --> "This stage handles the creation of the AWS infra-structure."
  • To manage access to GitHub Repository (so we do not need to use a private access token).

This is the Full AWS CodePipeline Successfully Deployed:

Source Stage Plan Stage Approve and Apply stages

This is the Deployed EC2 instance using CodePipeline:

Deployed EC2 instance

Requirements

No requirements.

Providers

No providers.

Modules

Name Source Version
codepipeline ./modules/codepipeline n/a
s3backend terraform-in-action/s3backend/aws n/a

Resources

No resources.

Inputs

Name Description Type Default Required
vcs_repo n/a object({ identifier = string, branch = string }) n/a yes

Outputs

No outputs.