Skip to main content

Python Terraform JSON configuration generator

Project description

Helicopyter

Like a helicopter hovering between the clouds and the ground, Helicopyter allows people to describe infrastructure using Python in a way that's less like the AWS Cloud Development Kit (CDK) and more like Terraform.

It is inspired by Configerator, Terraformpy, Terraform JSON configuration syntax, and uses CDKTF.

Terraform has a pretty good command line interface, so Helicopyter focuses on generating JSON it can easily use.

Meaningful names make review easy. Terraform's resource prefix style results in meaningful names and aligns with "Namespaces are one honking great idea -- let's do more of those!" The AWS CDK style of suffixing hashes does neither.

Possible future directions:

  • The f'deploys/{deploy}/terraform' directory structure may be surprising. What's a better layout that allows the Terraform to coexist nicely with other tools like Ansible and Python scripts?
  • id is a built-in function, and given special highlighting in vim, so rename the argument to something like name
  • __str__() for to_string(), etc.
  • Why do we need a Node.js server? If CDKTF is able to generate this much Python, why not just generate dataclasses or Pydantic models?

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

helicopyter-0.0.0.tar.gz (8.4 kB view hashes)

Uploaded Source

Built Distribution

helicopyter-0.0.0-py3-none-any.whl (8.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page