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

Uploaded Python 3

File details

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

File metadata

  • Download URL: phcl_terraform-0.1.3.tar.gz
  • Upload date:
  • Size: 4.4 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.3.tar.gz
Algorithm Hash digest
SHA256 8f50e49927440d64983f7c0d7ee4de8ec4f37f04c2bcca39a233a7207b42d8bd
MD5 dc4491e147f3672a562400fe54624e15
BLAKE2b-256 ccff76918b144c3e29b0563aec721c82950fe123f998bdce943f2b560c1a3dc6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: phcl_terraform-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9ba82eaeee9f5b6e50a571a35d4e1915fc526dce0f4bfb3e5b5400e2155808a8
MD5 8d0f42bbcb9aaa91f7ace6ce593c0533
BLAKE2b-256 bcc60d55c3c468d08320ffdf934f520e4b90b49017497b6a28d31d040151a286

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