{"id":15870978,"url":"https://github.com/lgallard/terraform-aws-codecommit","last_synced_at":"2025-08-12T23:32:44.314Z","repository":{"id":142483719,"uuid":"265357297","full_name":"lgallard/terraform-aws-codecommit","owner":"lgallard","description":"Terraform module to create AWS CodeCommit repositories. AWS CodeCommit is a fully-managed source control service that hosts secure Git-based repositories.","archived":false,"fork":false,"pushed_at":"2020-05-28T22:44:03.000Z","size":11,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-08T00:45:02.353Z","etag":null,"topics":["aws","aws-codecommit","codecommit","git","terraform","terraform-module"],"latest_commit_sha":null,"homepage":"","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/lgallard.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2020-05-19T20:23:49.000Z","updated_at":"2024-05-11T18:59:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"79d05619-29a1-454b-a116-24b0f8426e2b","html_url":"https://github.com/lgallard/terraform-aws-codecommit","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"d91b166f44ae926e6559c7ea5d269b8204f18464"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgallard%2Fterraform-aws-codecommit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgallard%2Fterraform-aws-codecommit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgallard%2Fterraform-aws-codecommit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgallard%2Fterraform-aws-codecommit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lgallard","download_url":"https://codeload.github.com/lgallard/terraform-aws-codecommit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229717773,"owners_count":18113394,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","aws-codecommit","codecommit","git","terraform","terraform-module"],"created_at":"2024-10-06T00:41:14.395Z","updated_at":"2024-12-14T14:43:16.727Z","avatar_url":"https://github.com/lgallard.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Terraform](https://lgallardo.com/images/terraform.jpg)\n# terraform-aws-codecommit\nTerraform module to create [AWS CodeCommit](https://aws.amazon.com/codecommit/) repositories. AWS CodeCommit is a fully-managed source control service that hosts secure Git-based repositories.\n\n## Usage\n\nYou can use this module to create an AWS CodeCommit repositories using few parameters (simple example) or define in detail every aspect of the repositories (complete example).\n\nCheck the [examples](examples/) for the  **simple** and the **complete** snippets.\n\n### Simple example\nThis example creates an CodeCommit repository using few parameters\n```\nmodule \"codecommit\" {\n\n  source = \"lgallard/codecommit/aws\"\n\n  repository_name = \"codecommit-repo\"\n  description     = \"Git repositoriy in AWS\"\n\n  tags = {\n    Owner       = \"DevOps team\"\n    Environment = \"dev\"\n    Terraform   = true\n  }\n\n}\n\n```\n\n### Complete example\nIn this example the repository is defined in detailed.\n\n```\nmodule \"codecommit\" {\n\n  source = \"lgallard/codecommit/aws\"\n\n  repository_name = \"codecommit-repo\"\n  description     = \"Git repositoriy in AWS\"\n  default_branch  = \"master\"\n\n\n  triggers = [\n    {\n      name            = \"all\"\n      events          = [\"all\"]\n      destination_arn = \"arn:aws:lambda:us-east-1:12345678910:function:lambda-all\"\n    },\n    { \n      name            = \"updateReference\"\n      events          = [\"updateReference\"]\n      destination_arn = \"arn:aws:lambda:us-east-1:12345678910:function:lambda-updateReference\"\n    },\n  ]\n\n  tags = {\n    Owner       = \"DevOps team\"\n    Environment = \"dev\"\n    Terraform   = true\n  }\n\n}\n\n```\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| aws | n/a |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| default\\_branch | The default branch of the repository. The branch specified here needs to exist. | `string` | n/a | yes |\n| description | The description of the repository. This needs to be less than 1000 characters | `string` | n/a | yes |\n| repository\\_name | The name for the repository. This needs to be less than 100 characters. | `string` | n/a | yes |\n| tags | A mapping of tags to assign to the resource. | `map(string)` | `{}` | no |\n| triggers | List of triggers | `any` | `[]` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| arn | The ARN of the repository |\n| clone\\_url\\_http | The URL to use for cloning the repository over HTTPS. |\n| clone\\_url\\_ssh | The URL to use for cloning the repository over SSH. |\n| name | The name for the repository |\n| repository\\_id | The ID of the repository |\n\n## Known issues\nDuring the developing of the module I found an issue when trying to create several triggers for a repository. This is an issue reported inr the AWS provider at [Multiple codecommit triggers](https://github.com/terraform-providers/terraform-provider-aws/issues/3209)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flgallard%2Fterraform-aws-codecommit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flgallard%2Fterraform-aws-codecommit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flgallard%2Fterraform-aws-codecommit/lists"}