An open API service indexing awesome lists of open source software.

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

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
```