CDKTF language bindings for Terraform Provider

CDKTF is a Terraform generation framework. It allows users to code in a full featured language (TypeScript, Python, JVM, Golang) and manages generation of Terraform code. The most commonly used CDKTF language is TypeScript. This follows the AWS CDK “construct tree” pattern.

CDKTF supports the auto-generation of CDKTF language bindings from HCL Terraform, including from HCL Terraform modules and providers. However, this is only possible in CDKTF projects, not CDKTF libraries.

A project is an application that directly generates Terraform code to manage state. A library is simply a library of reusable CDKTF code that can be used by projects to generated Terraform code.

Hashicorp maintains many open source repositories with CDKTF language bindings for popular providers, including provder-aws, provider-kubernetes, provider-helm, provider-postgres, etc. These repositories are all automatically generated. No custom code is required for the creation of a CDKTF language binding repository.

Typically these repositories are independently version. The version of each repository represents the combined version of the CDKTF framework being used for code generation, as well as the underlying version of the Terraform provider.

Please publish CDKTF language bindings for the SpaceLift Terraform provider.

Workaround
CDKTF users may automatically generate language bindings from the SpaceLift HCL Terraform provider, but this does not support libraries for code reuse. Instead, we have had to maintain our own internal repository publishing CDKTF language bindings for the SpaceLift HCL Terraform provider. I would be happy to share details on the construction of this repository.
Problem
-

Please authenticate to join the conversation.

Upvoters
Status

❌ Rejected

Board

💡 Feature Requests

Date

Over 1 year ago

Subscribe to post

Get notified by email when there are changes.