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.4.tar.gz (4.5 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.4-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: phcl_terraform-0.1.4.tar.gz
  • Upload date:
  • Size: 4.5 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.4.tar.gz
Algorithm Hash digest
SHA256 744a5b8bbaba6c1bbddf22bb90e3443ec94c888ef6c70b15d2cfd19a22ce1483
MD5 735c6ec3b1e48f0866461016446286ae
BLAKE2b-256 02ec73bb3e4d165dc72f1c3b38a92b80a4fbcc54aa41331e1828acdfa9b0cf6d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: phcl_terraform-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.5 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 45a1deec04f155ae036e13aab7a9e42b1c4633c5a6de133cdb0677f83b9741f3
MD5 69cd3d31f12ea915850d82cdda838222
BLAKE2b-256 edf3c427f8df5a80e51d93c6b875d34a7aafccf0808431a886f1881ebe60ceb1

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