{"id":15155952,"url":"https://github.com/tokarev-artem/terraform-aws-codecommit","last_synced_at":"2026-02-28T10:04:22.922Z","repository":{"id":241620920,"uuid":"807254499","full_name":"tokarev-artem/terraform-aws-codecommit","owner":"tokarev-artem","description":"Terraform module to create codecommit repositories","archived":false,"fork":false,"pushed_at":"2024-05-28T19:11:25.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-08T22:03:41.125Z","etag":null,"topics":["amazon","aws","codecommit","iac","infrastructure-as-code","terraform","terraform-modules"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tokarev-artem.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-05-28T18:43:58.000Z","updated_at":"2024-06-24T12:44:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"4809a55f-a240-4535-8b62-b09fe24568ca","html_url":"https://github.com/tokarev-artem/terraform-aws-codecommit","commit_stats":null,"previous_names":["tokarev-artem/terraform-aws-codecommit"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tokarev-artem/terraform-aws-codecommit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tokarev-artem%2Fterraform-aws-codecommit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tokarev-artem%2Fterraform-aws-codecommit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tokarev-artem%2Fterraform-aws-codecommit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tokarev-artem%2Fterraform-aws-codecommit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tokarev-artem","download_url":"https://codeload.github.com/tokarev-artem/terraform-aws-codecommit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tokarev-artem%2Fterraform-aws-codecommit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29929607,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T09:58:13.507Z","status":"ssl_error","status_checked_at":"2026-02-28T09:57:57.047Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["amazon","aws","codecommit","iac","infrastructure-as-code","terraform","terraform-modules"],"created_at":"2024-09-26T19:00:39.104Z","updated_at":"2026-02-28T10:04:22.900Z","avatar_url":"https://github.com/tokarev-artem.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Codecommit AWS module\n\n# Simple repo:\n\n```hcl\n  module \"simple\" {\n    source  = \"tokarev-artem/codecommit/aws\"\n\n    repository_name = \"react\"\n    description     = \"Frontend app\"\n\n    tags = {\n      Role = \"frontend\"\n    }\n  }\n```\n\n# Multiple repositories:\n```hcl\n  module \"multiple\" {\n    for_each = {\n      frontend-react = {\n        description = \"react app\"\n      }\n      backend-typescript = {\n        description = \"backend app\"\n      }\n    }\n    source          = \"tokarev-artem/codecommit/aws\"\n    repository_name = each.key\n    description     = each.value.description\n    kms_key_id      = \"arn:aws:kms:eu-central-1:1234567891011:key/cb121336-dddd-4a0d-abcd-914f5d2c2e2a\"\n\n    rule_template_description       = \"Approval rule template for pull requests\"\n    rule_number_of_approvals_needed = 2\n    rule_approval_pool_members      = [\"arn:aws:iam::1234567891011:user/JohnSnow\"]\n    rule_destination_refs           = [\"refs/heads/main\", \"refs/heads/dev\"]\n\n    trigger_destination_arn = \"arn:aws:sns:eu-central-1:1234567891011:test-topic\"\n    trigger_custom_data     = \"Custom data for the trigger\"\n    trigger_events          = [\"updateReference\", \"createReference\"]\n    trigger_branches        = [\"dev\", \"main\"]\n\n    tags = {\n      ownder = \"horns-and-hoofs\"\n    }\n  }\n```\n\n\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | n/a |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_repository_name\"\u003e\u003c/a\u003e [repository\\_name](#input\\_repository\\_name) | The name of the CodeCommit repository | `string` | n/a | yes |\n| \u003ca name=\"input_approval_rule_branch_name\"\u003e\u003c/a\u003e [approval\\_rule\\_branch\\_name](#input\\_approval\\_rule\\_branch\\_name) | A branch name to apply approval rule to | `string` | `\"main\"` | no |\n| \u003ca name=\"input_default_branch\"\u003e\u003c/a\u003e [default\\_branch](#input\\_default\\_branch) | The default branch of the repository. The branch specified here needs to exist. | `string` | `\"main\"` | no |\n| \u003ca name=\"input_description\"\u003e\u003c/a\u003e [description](#input\\_description) | The description of the CodeCommit repository | `string` | `\"\"` | no |\n| \u003ca name=\"input_kms_key_id\"\u003e\u003c/a\u003e [kms\\_key\\_id](#input\\_kms\\_key\\_id) | The ARN of the encryption key. If no key is specified, the default aws/codecommit Amazon Web Services managed key is used. | `string` | `null` | no |\n| \u003ca name=\"input_rule_approval_pool_members\"\u003e\u003c/a\u003e [rule\\_approval\\_pool\\_members](#input\\_rule\\_approval\\_pool\\_members) | The list of ARNs for users or groups who can approve pull requests | `list(string)` | `[]` | no |\n| \u003ca name=\"input_rule_destination_refs\"\u003e\u003c/a\u003e [rule\\_destination\\_refs](#input\\_rule\\_destination\\_refs) | List of destination references for the approval rule template | `list(string)` | \u003cpre\u003e[\u003cbr\u003e  \"refs/heads/main\"\u003cbr\u003e]\u003c/pre\u003e | no |\n| \u003ca name=\"input_rule_number_of_approvals_needed\"\u003e\u003c/a\u003e [rule\\_number\\_of\\_approvals\\_needed](#input\\_rule\\_number\\_of\\_approvals\\_needed) | The number of approvals needed for a pull request | `number` | `\"1\"` | no |\n| \u003ca name=\"input_rule_template_description\"\u003e\u003c/a\u003e [rule\\_template\\_description](#input\\_rule\\_template\\_description) | The description of the approval rule template | `string` | `\"\"` | no |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | A map of tags to assign to the resource | `map(string)` | `{}` | no |\n| \u003ca name=\"input_trigger_branches\"\u003e\u003c/a\u003e [trigger\\_branches](#input\\_trigger\\_branches) | The branches that will be included in the trigger configuration. If no branches are specified, the trigger will apply to all branches. | `list(any)` | `[]` | no |\n| \u003ca name=\"input_trigger_custom_data\"\u003e\u003c/a\u003e [trigger\\_custom\\_data](#input\\_trigger\\_custom\\_data) | Any custom data associated with the trigger | `string` | `\"\"` | no |\n| \u003ca name=\"input_trigger_destination_arn\"\u003e\u003c/a\u003e [trigger\\_destination\\_arn](#input\\_trigger\\_destination\\_arn) | The ARN of the resource that is the target of the trigger | `string` | `null` | no |\n| \u003ca name=\"input_trigger_events\"\u003e\u003c/a\u003e [trigger\\_events](#input\\_trigger\\_events) | The events that will trigger the action (e.g., all, updateReference, createReference, deleteReference) | `list(string)` | \u003cpre\u003e[\u003cbr\u003e  \"all\"\u003cbr\u003e]\u003c/pre\u003e | no |\n| \u003ca name=\"input_trigger_name\"\u003e\u003c/a\u003e [trigger\\_name](#input\\_trigger\\_name) | The name of the trigger | `string` | `null` | no | \n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_approval_rule_template_id\"\u003e\u003c/a\u003e [approval\\_rule\\_template\\_id](#output\\_approval\\_rule\\_template\\_id) | ID of the approval rule template |\n| \u003ca name=\"output_approval_rule_template_name\"\u003e\u003c/a\u003e [approval\\_rule\\_template\\_name](#output\\_approval\\_rule\\_template\\_name) | Name of the approval rule template |\n| \u003ca name=\"output_repository_arn\"\u003e\u003c/a\u003e [repository\\_arn](#output\\_repository\\_arn) | ARN of the CodeCommit repository |\n| \u003ca name=\"output_repository_clone_url_http\"\u003e\u003c/a\u003e [repository\\_clone\\_url\\_http](#output\\_repository\\_clone\\_url\\_http) | HTTP clone URL of the CodeCommit repository |\n| \u003ca name=\"output_repository_clone_url_ssh\"\u003e\u003c/a\u003e [repository\\_clone\\_url\\_ssh](#output\\_repository\\_clone\\_url\\_ssh) | SSH clone URL of the CodeCommit repository |\n| \u003ca name=\"output_repository_name\"\u003e\u003c/a\u003e [repository\\_name](#output\\_repository\\_name) | Name of the CodeCommit repository |\n| \u003ca name=\"output_trigger_id\"\u003e\u003c/a\u003e [trigger\\_id](#output\\_trigger\\_id) | ID of the CodeCommit trigger |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftokarev-artem%2Fterraform-aws-codecommit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftokarev-artem%2Fterraform-aws-codecommit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftokarev-artem%2Fterraform-aws-codecommit/lists"}