https://github.com/garysassano/cdktf-github-repository
CDKTF app that creates a repository with main branch protection on GitHub
https://github.com/garysassano/cdktf-github-repository
cdk-for-terraform cdktf cdktf-ts github repository typescript
Last synced: 10 months ago
JSON representation
CDKTF app that creates a repository with main branch protection on GitHub
- Host: GitHub
- URL: https://github.com/garysassano/cdktf-github-repository
- Owner: garysassano
- License: apache-2.0
- Created: 2024-04-08T05:28:16.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-14T02:39:43.000Z (11 months ago)
- Last Synced: 2025-02-14T03:28:42.833Z (11 months ago)
- Topics: cdk-for-terraform, cdktf, cdktf-ts, github, repository, typescript
- Language: TypeScript
- Homepage:
- Size: 87.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cdktf-github-repository
CDKTF app that creates a repository with main branch protection on GitHub.
## Prerequisites
- **_GitHub:_**
- Must have set the `GITHUB_TOKEN` variable in your local environment.
- **_Terraform:_**
- Must be [installed](https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli#install-terraform) in your system.
- **_Node.js + npm:_**
- Must be [installed](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) in your system.
## Installation
```sh
npx projen install
```
## Deployment
```sh
npx projen deploy
```
## Cleanup
```sh
npx projen destroy
```