PyTerraBackTYL logo


PyTerraBackTYL is an HTTP backend for Terraform that allows you to control how locking and state are managed. You can use one of the provided persistent plugins to save state to disk, store state in a Git repository, or encrypt the state to disk with 256bit CBC mode AES.

You can also create your own persistent backend plugin to handle locks and store state however you like by implementing the TYLPersistent abstract class.

Additionally, you can implement the TYLNonpersistent abstract class to perform actions based on lock status and Terraform state content. A nonpersistent plugin to notify a Slack chatroom of changes is provided, but users have also created nonpersistant plugins that automatically add or remove hosts from monitoring, and update load-balancer configurations.