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.1.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.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: phcl_terraform-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 9388f4d3a81b871e5b2afdf70173ec8495ca052175156951245f0f392e15c0ba
MD5 a7f34970093e835eeebbec7796df0d5b
BLAKE2b-256 7f20109f9e521caffe53fd5d51dfcdbb6f3f1cd946594906e81be811666e6778

See more details on using hashes here.

File details

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

File metadata

  • Download URL: phcl_terraform-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 db7114fd9fcfc304366130753b9c75a0b5be9aee4222e112bdac0bcca4cbc9c8
MD5 9af6c52e44eeb7feee994af92a2776fc
BLAKE2b-256 3e5d9aca8d8ebe8f3f755cbc1c8538f656ae9eed368c5c849cce40feef209fd3

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