https://github.com/test-kitchen/terraform-github-repository
For managing the Test-Kitchen Github Organisation
https://github.com/test-kitchen/terraform-github-repository
Last synced: 29 days ago
JSON representation
For managing the Test-Kitchen Github Organisation
- Host: GitHub
- URL: https://github.com/test-kitchen/terraform-github-repository
- Owner: test-kitchen
- Created: 2020-06-25T15:57:19.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T05:40:43.000Z (about 2 years ago)
- Last Synced: 2024-04-14T05:31:18.735Z (almost 2 years ago)
- Language: HCL
- Size: 13.7 KB
- Stars: 1
- Watchers: 15
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# terraform-github-org
## Usage
## Becoming A Member
Add yourself to `membership.tf`
## Adding a Repository
Add a new entry to `terraform.tfvars.json`
```json
{
"name": "kitchen-azurerm",
"repo_type": "ruby_gem"
},
```
## Importing a repository
Note: **Board Members only**
- Create a new entry in terraform.tfvars.json
- Import the state file using:
```bash
terraform import 'module.repository[""].github_repository.this'
```
Then get the pull request merged in, not merging in the PR will result in terraform **deleting** the repo on next run