{"id":37230498,"url":"https://github.com/paybilldev/terraform-aws-codepipeline","last_synced_at":"2026-01-15T03:38:40.374Z","repository":{"id":331703237,"uuid":"1125299349","full_name":"paybilldev/terraform-aws-codepipeline","owner":"paybilldev","description":"Defines a reusable AWS CodePipeline module that builds a CI/CD pipeline using a GitHub (or other supported) repository as the source and allows you to dynamically attach additional build/deployment stages.","archived":false,"fork":false,"pushed_at":"2026-01-10T21:34:12.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-11T06:35:58.877Z","etag":null,"topics":["aws","ci-cd","codepipeline","github","terraform"],"latest_commit_sha":null,"homepage":"https://paybill.dev/docs/platform/terraform/aws/codepipeline","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paybilldev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"buy_me_a_coffee":"ebartile"}},"created_at":"2025-12-30T13:33:51.000Z","updated_at":"2026-01-10T21:33:42.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/paybilldev/terraform-aws-codepipeline","commit_stats":null,"previous_names":["paybilldev/terraform-aws-codepipeline"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/paybilldev/terraform-aws-codepipeline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paybilldev%2Fterraform-aws-codepipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paybilldev%2Fterraform-aws-codepipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paybilldev%2Fterraform-aws-codepipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paybilldev%2Fterraform-aws-codepipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paybilldev","download_url":"https://codeload.github.com/paybilldev/terraform-aws-codepipeline/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paybilldev%2Fterraform-aws-codepipeline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28442305,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"online","status_checked_at":"2026-01-15T02:00:08.019Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","ci-cd","codepipeline","github","terraform"],"created_at":"2026-01-15T03:38:39.854Z","updated_at":"2026-01-15T03:38:40.366Z","avatar_url":"https://github.com/paybilldev.png","language":"HCL","funding_links":["https://buymeacoffee.com/ebartile"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://paybill.dev\" target=\"_blank\"\u003e\n    \u003cpicture\u003e\n      \u003cimg src=\"./static/aws-codepipeline.png\" alt=\"Banner\" /\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n# AWS Codepipeline Terraform Module\n\nThis Terraform configuration defines a reusable **AWS CodePipeline module** that builds a CI/CD pipeline using a GitHub (or other supported) repository as the source and allows you to dynamically attach additional build/deployment stages.\n\n\n### **What it does**\n\n1. **Creates an AWS CodePipeline**\n\n   * Name is provided via `var.name`\n   * Uses an IAM role passed in via `var.role_arn`\n\n2. **Configures Artifact Storage**\n\n   * Stores pipeline artifacts (source code, build outputs) in an S3 bucket (`var.s3_bucket_name`)\n\n3. **Defines a Source Stage**\n\n   * Pulls code from a repository using **CodeStar Source Connection**\n   * Connects to GitHub (or another provider using CodeStar)\n   * Inputs required:\n\n     * `source_repo_name` – e.g., `myuser/myrepo`\n     * `source_repo_branch` – branch to track\n     * `ConnectionArn` – CodeStar/GitHub connection ARN\n\n4. **Creates Additional Stages Dynamically**\n\n   * Using `dynamic \"stage\"` block\n   * Lets you define any number of build/test/deploy stages through `var.stages`\n   * Each stage supports:\n\n     * category (e.g., Build, Deploy, Test)\n     * owner\n     * provider (CodeBuild, Lambda, CloudFormation, etc.)\n     * input/output artifacts\n     * run order\n     * CodeBuild project name (via `ProjectName` in configuration)\n\n   This means the pipeline is highly configurable without modifying module code.\n\n5. **Outputs**\n\n   * Exposes pipeline `id`, `name`, and `arn` after creation\n\n\u003c!-- BEGIN_TF_DOCS --\u003e\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.3.0 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | \u003e= 5.0.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | \u003e= 5.0.0 |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [aws_codepipeline.deployment_pipeline](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/codepipeline) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_ConnectionArn\"\u003e\u003c/a\u003e [ConnectionArn](#input\\_ConnectionArn) | Github Connection ARN | `string` | n/a | yes |\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | Unique name for this project | `string` | n/a | yes |\n| \u003ca name=\"input_role_arn\"\u003e\u003c/a\u003e [role\\_arn](#input\\_role\\_arn) | ARN of the codepipeline IAM role | `string` | n/a | yes |\n| \u003ca name=\"input_s3_bucket_name\"\u003e\u003c/a\u003e [s3\\_bucket\\_name](#input\\_s3\\_bucket\\_name) | S3 bucket name to be used for storing the artifacts | `string` | n/a | yes |\n| \u003ca name=\"input_source_repo_branch\"\u003e\u003c/a\u003e [source\\_repo\\_branch](#input\\_source\\_repo\\_branch) | Default branch in the Source repo for which CodePipeline needs to be configured | `string` | n/a | yes |\n| \u003ca name=\"input_source_repo_name\"\u003e\u003c/a\u003e [source\\_repo\\_name](#input\\_source\\_repo\\_name) | Source repo name of the CodeCommit repository | `string` | n/a | yes |\n| \u003ca name=\"input_stages\"\u003e\u003c/a\u003e [stages](#input\\_stages) | List of Map containing information about the stages of the CodePipeline | `list(map(any))` | n/a | yes |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | Tags to be attached to the CodePipeline | `map(any)` | n/a | yes |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_arn\"\u003e\u003c/a\u003e [arn](#output\\_arn) | The arn of the CodePipeline |\n| \u003ca name=\"output_id\"\u003e\u003c/a\u003e [id](#output\\_id) | The id of the CodePipeline |\n| \u003ca name=\"output_name\"\u003e\u003c/a\u003e [name](#output\\_name) | The name of the CodePipeline |\n\u003c!-- END_TF_DOCS --\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaybilldev%2Fterraform-aws-codepipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaybilldev%2Fterraform-aws-codepipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaybilldev%2Fterraform-aws-codepipeline/lists"}