0.0.6 • Published 4 years ago

cdktf-github-constructs v0.0.6

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
4 years ago

Terraform CDK - Level 2 Constructs for Github Provider

Provide simple Level 2 Constructs for the Github Provider for Terraform CDK.

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

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

0.0.5

4 years ago

0.0.6

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago