terraform-python-testing-helper
terraform-python-testing-helper copied to clipboard
Simple Python test helper for Terraform.
Arguments like [--terragrunt-include-dir](https://terragrunt.gruntwork.io/docs/reference/cli-options/#terragrunt-include-dir), are allowed to be specified multiple times. `parse_args` [here](https://github.com/GoogleCloudPlatform/terraform-python-testing-helper/blob/d81e03a7c6966c10e1a443b2439700d4697dd18e/tftest.py#L87) uses dictionary format `**kw` for providing arguments to Terragrunt. This will not work for duplicated arguments.
Just ran an apply/destroy cycle through tftest, where on destroy I ran into a timing error when waiting for a resource to change to the expected state: ``` Error: Error...
@andrewesweet I played around with [zugbruecke](https://zugbruecke.readthedocs.io/en/stable/introduction.html) as a quick way to verify if running Python uner Wine was feasible, and it seems to work. I get a bunch of errors...
Installing Terraform on CI systems can be a bit of a pain, and often I wish that I could keep a pure Python environment to run with. My solution was...
The package currently seems to miss the `py.typed` marker to indicate support for mypy ``` external/terraform.py:5: error: Skipping analyzing "tftest": module is installed, but missing library stubs or py.typed marker...
Is there any way to specify authentication for this? Typically I'd use the GOOGLE_CREDENTIALS environment variable, does that work with this?
I’m seeking a solution that allows me to utilize “tftest” for existing resources that have already been provisioned. Whenever there’s a modification to any attributes or dependencies of a provisioned...