terraform-cdk VS python-terraform

Compare terraform-cdk vs python-terraform and see what are their differences.

terraform-cdk

Define infrastructure resources using programming constructs and provision them using HashiCorp Terraform (by hashicorp)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
terraform-cdk python-terraform
104 3
4,720 465
1.1% -
9.9 0.0
4 days ago about 1 year ago
TypeScript Python
Mozilla Public License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

terraform-cdk

Posts with mentions or reviews of terraform-cdk. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-07.

python-terraform

Posts with mentions or reviews of python-terraform. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-08.
  • DevSecOps Azure
    3 projects | /r/Terraform | 8 Oct 2022
    Python terraform
  • py-terraform: Python binding for Terraform
    4 projects | /r/Python | 2 Apr 2022
    Terraform is a great tool for deploying resources. If you need to call the Terraform command in the Python program for deployment, a new process needs to be created to execute the Terraform command on the system. A typical example of this is the python-terraform library. Doing so has the following problems:
  • Programmatically call Terraform (CDK vs. system call)
    2 projects | /r/Terraform | 15 Sep 2021
    I would like to provision out these environments via Terraform. I would pass in the appropriate information via TF variables and environment variables to help with the customization of the environment. Using something like Python's os.system() seems a little kludgy. python-terraform hasn't been updated in a while. I haven't used CDK for Terraform, but the one thing that I read made it seem like it's not that great or ready for prime time?

What are some alternatives?

When comparing terraform-cdk and python-terraform you can also consider the following projects:

Pulumi - Pulumi - Infrastructure as Code in any programming language. Build infrastructure intuitively on any cloud using familiar languages πŸš€

py-libterraform - Python binding for Terraform.

terragrunt - Terragrunt is a thin wrapper for Terraform that provides extra tools for working with multiple Terraform modules.

pretf - Generate Terraform code with Python

crossplane - The Cloud Native Control Plane

kapitan - Generic templated configuration management for Kubernetes, Terraform and other things

copilot-cli - The AWS Copilot CLI is a tool for developers to build, release and operate production ready containerized applications on AWS App Runner or Amazon ECS on AWS Fargate.

terraformize - Apply\Destory Terraform modules via a simple REST API endpoint.

cdk8s - Define Kubernetes native apps and abstractions using object-oriented programming

tfwrapper - Claranet France Terraform & OpenTofu Wrapper

aws-cdk-local - Thin wrapper script for using the AWS CDK CLI with LocalStack