python-terrascript/docs/tutorials/backend1.py

11 lines
192 B
Python

import terrascript
config = terrascript.Terrascript()
backend = terrascript.Backend(
"local",
path="example_app/terraform_state",
)
config += terrascript.Terraform(backend=backend)