https://github.com/skorfmann/cdktf-github-constructs
https://github.com/skorfmann/cdktf-github-constructs
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/skorfmann/cdktf-github-constructs
- Owner: skorfmann
- License: apache-2.0
- Created: 2020-08-18T15:01:59.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T22:03:17.000Z (almost 3 years ago)
- Last Synced: 2025-07-07T01:46:34.677Z (3 months ago)
- Language: TypeScript
- Size: 460 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Terraform CDK - Level 2 Constructs for Github Provider
Provide simple Level 2 Constructs for the [Github Provider](https://cdk.tf/provider/github) for [Terraform CDK](https://cdk.tf).
## Install
Just the constructs
```
npm install cdktf-github-constructs
```Or with all peer dependencies
```
npm install cdktf constructs @cdktf/provider-github cdktf-github-constructs
```## Example
```ts
import { Construct } from 'constructs';
import { Resource } from 'cdktf';
import { Repository, RepositoryConfig } from 'cdktf-github-constructs';export class MyRepos extends Resource {
constructor(scope: Construct, name: string) {
const myTeam = new Team(this, 'my-team'),const website = new Repository(this, 'website', {
description: 'Our awesome website',
topics: ['our', 'awesome', 'website']
})website.addTeam(myTeam, Repository.Permissions.PUSH)
}
}
```## Docs
See [API Docs](./API.md)