Skip to main content

Terraform-native authoring layer for PHCL.

Project description

PHCL-TERRAFORM

PHCL-TERRAFORM is the Terraform dialect layer for PHCL.

For the core model, rendering, CLI behavior, and general PHCL documentation:

Installation

pip install 'phcl[terraform]'

Example

Instead of writing Terraform like this:

resource "aws_instance" "web" {
  ami           = "ami-123"
  instance_type = "t3.small"
}

the dialect aims to let you write:

from phcl.terraform import Resource, TerraformPHCL as PHCL


class Web(Resource["aws_instance"]):
    ami = "ami-123"
    instance_type = "t3.small"

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

phcl_terraform-0.1.2.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

phcl_terraform-0.1.2-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file phcl_terraform-0.1.2.tar.gz.

File metadata

  • Download URL: phcl_terraform-0.1.2.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for phcl_terraform-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2aabc5d166059c2ea71ce32a75465efb9d80bef0ce1c135ca7a7b124d49c3194
MD5 fc125b2eac4854c17af80eba3797a782
BLAKE2b-256 852a40bbe9fbd2b2c580178f68b1685c472f8adf0b7cb74f1011b1b53342e8c3

See more details on using hashes here.

File details

Details for the file phcl_terraform-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: phcl_terraform-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for phcl_terraform-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 95eaeed829db661b245b8fa14d7a752e35301e1a66c5ffaf284595e766db9623
MD5 e9fb083ce2082b1ab56c2364ba2f3d87
BLAKE2b-256 bef48094a02f2b3217d67262f553ead4272733ad4fffd60713293537be0052eb

See more details on using hashes here.

Supported by

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