TerraformResource
laktory.models.TerraformResource
¤
Parent class for all Laktory models deployable with Terraform IaC backend.
ATTRIBUTE | DESCRIPTION |
---|---|
terraform_excludes |
List of fields to exclude when dumping model to terraform |
terraform_renames |
Map of fields to rename when dumping model to terraform |
terraform_properties |
Resources properties formatted for terraform:
TYPE:
|
Attributes¤
terraform_excludes
property
¤
terraform_excludes
List of fields to exclude when dumping model to terraform
terraform_renames
property
¤
terraform_renames
Map of fields to rename when dumping model to terraform
terraform_properties
property
¤
terraform_properties
Resources properties formatted for terraform:
- Serialization (model dump)
- Removal of excludes defined in
self.terraform_excludes
- Renaming of keys according to
self.terraform_renames
- Injection of variables
RETURNS | DESCRIPTION |
---|---|
dict
|
Terraform-safe model dump |