Skip to content

A projen template for CDKTF constructs authored by HashiCorp

License

Notifications You must be signed in to change notification settings

cdktf/construct-projen-template

cdktf-construct-projen-template

A projen template for CDKTF constructs authored by HashiCorp (internal use only)

Compatibility

  • node >= 18.12.0
  • cdktf >= 0.20.0
  • constructs >= 10.3.0

How to Use

  1. Navigate to github.com/cdktf/construct-projen-template using your browser
  2. Click on "Use this template" in the top-right of the screen

See here for full instructions, including screenshots.

Once the repository is created, add the following GitHub Actions secrets:

  • PROJEN_GITHUB_TOKEN: should be a Classic, nonexpiring token associated with the team-tf-cdk account with the following scopes:
    • read:user
    • repo
    • workflow
  • Depending on which language(s)/package manager(s) you'd like to publish to:
    • npm (TypeScript)
      • NPM_TOKEN
    • Maven Central (Java)
      • MAVEN_GPG_PRIVATE_KEY
      • MAVEN_GPG_PRIVATE_KEY_PASSPHRASE
      • MAVEN_PASSWORD
      • MAVEN_USERNAME
      • MAVEN_STAGING_PROFILE_ID
    • PyPI (Python)
      • TWINE_USERNAME
      • TWINE_PASSWORD
    • NuGet (C#)
      • NUGET_API_KEY
    • GitHub (Go)
      • GO_GITHUB_TOKEN