Important
OCF - github.com/open-constructs has stepped up to fork under the new name of CDK Terrain - cdktn.io
This project handles repository management for the prebuilt Terraform provider packages and custom constructs that are published for use with CDK Terrain (CDKTN).
CDKTN allows you to use familiar programming languages to define cloud infrastructure and provision it through HashiCorp Terraform. This gives you access to the entire Terraform ecosystem without learning HashiCorp Configuration Language (HCL). Terraform providers can be generated locally to be used with your application, or installed via one of the prebuilt packages. We currently publish and maintain a small subset of prebuilt packages for the Terraform providers that currently have the highest usage in CDKTN apps. The current list of prebuilt provider packages can be found here.
Our current policy is as follows:
- We publish & maintain prebuilt packages for any providers labeled "Official" Or "Partner" in the Terraform Registry only upon explicit request by the technology partner (see below)
- We will not publish & maintain prebuilt packages for any providers labeled "Community" in the Terraform Registry.
We are currently prioritizing publishing a small subset of prebuilt provider packages, based on usage in existing CDKTF applications. If you are a current Hashicorp partner and you are interested in having a prebuilt package made available for your provider, please email [email protected] and also file an issue here.
This repository uses CDKTF to manage GitHub repositories via Terraform. Before running Terraform commands locally, you need to set up authentication:
# Set GITHUB_TOKEN for Terraform provider authentication
export GITHUB_TOKEN=$(gh auth token)
# Verify your GitHub CLI token has required scopes
gh auth status
# Required scopes: repo, admin:org, workflow# Install dependencies
yarn install
# Build the project
yarn build
# Generate Terraform configuration
yarn synth
# Run Terraform commands
cd cdktf.out/stacks/repos
terraform init
terraform plan
terraform applyFor the full end-to-end guide on importing an archived CDKTF provider into cdktn-io, see plans/importing-providers.md.