{"id":22112129,"url":"https://github.com/fourplusone/terraform-provider-git","last_synced_at":"2025-07-25T07:32:42.067Z","repository":{"id":137213023,"uuid":"173367005","full_name":"fourplusone/terraform-provider-git","owner":"fourplusone","description":"Terraform provider to write git repositories","archived":false,"fork":false,"pushed_at":"2020-03-04T23:08:18.000Z","size":5649,"stargazers_count":21,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T00:34:00.104Z","etag":null,"topics":["terraform","terraform-provider"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fourplusone.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}},"created_at":"2019-03-01T20:56:15.000Z","updated_at":"2022-10-09T09:42:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"7bcbae8b-8e06-4750-ac64-c30fd6672ad2","html_url":"https://github.com/fourplusone/terraform-provider-git","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/fourplusone/terraform-provider-git","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fourplusone%2Fterraform-provider-git","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fourplusone%2Fterraform-provider-git/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fourplusone%2Fterraform-provider-git/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fourplusone%2Fterraform-provider-git/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fourplusone","download_url":"https://codeload.github.com/fourplusone/terraform-provider-git/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fourplusone%2Fterraform-provider-git/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266973161,"owners_count":24014626,"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","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"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":["terraform","terraform-provider"],"created_at":"2024-12-01T10:56:47.483Z","updated_at":"2025-07-25T07:32:40.422Z","avatar_url":"https://github.com/fourplusone.png","language":"Go","funding_links":["https://www.patreon.com/fourplusone)__"],"categories":[],"sub_categories":[],"readme":"# terraform-provider-git\r\n\r\n__[Support this project on Patreon](https://www.patreon.com/fourplusone)__\r\n\r\n[![Build Status](https://travis-ci.com/fourplusone/terraform-provider-git.svg?token=Uozu8nkCaipWW1259XXD\u0026branch=master)](https://travis-ci.com/fourplusone/terraform-provider-git)\r\n\r\n## Rationale\r\n\r\nKeep your git repositories in sync with your infrastructure. \r\n\r\n## Install\r\n\r\n* Download `terraform-provider-git` binary from [Github](https://github.com/fourplusone/terraform-provider-git/releases)\r\n* Unzip the zip file\r\n* Then move `terraform-provider-git` binary to `$HOME/.terraform.d/plugins` directory\r\n\r\n```bash\r\nmkdir -p $HOME/.terraform.d/plugins\r\nmv terraform-provider-git $HOME/.terraform.d/plugins/terraform-provider-git\r\n```\r\n\r\n* Run `terraform init` in your terraform project\r\n\r\n```bash\r\nterraform init\r\n```\r\n\r\n## Configuration\r\n\r\n- repository_url - (Required) The URL of the remote repository\r\n- author_name - (Optional) Name of the committer\r\n- author_email - (Optional) Email of the committer\r\n\r\n### Configuration Example\r\n\r\n```hcl\r\nprovider \"git\" {\r\n    repository_url = \"git@github.com:fourplusone/tf-target.git\"\r\n    author_name = \"Matthias Bartelmeß - Terraform\"\r\n    author_email = \"mba@fourplusone.de\"\r\n}\r\n```\r\n\r\n## Resource\r\n\r\nThe following arguments are supported:\r\n\r\n- content - (Required) The content of file to create.\r\n\r\n- filename - (Required) The path of the file to create.\r\n\r\nAny required parent directories will be created automatically, and any existing file with the given name will be overwritten.\r\n\r\n### Resource Example\r\n\r\n```hcl\r\nresource \"git_file\" \"demo_out_1\" {\r\n  contents = \"hello\"\r\n  path = \"hello/world.txt\"\r\n}\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffourplusone%2Fterraform-provider-git","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffourplusone%2Fterraform-provider-git","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffourplusone%2Fterraform-provider-git/lists"}