Commit graph

19 commits

Author SHA1 Message Date
5af484bcce release 2023-01-27 10:35:48 +01:00
f94f3a7c43 adjust gitignore 2022-08-05 18:08:56 +02:00
jem
9c73aaec5e may not be used in vc 2021-10-15 17:51:15 +02:00
jem
9389fd5a24 ignore 2021-07-02 13:54:10 +02:00
jem
d8351ba873 ignore dist 2021-06-25 17:06:20 +02:00
Francois Lebreau
785e9a3ce7 Fix tests 2021-01-21 10:07:00 +00:00
Francois Lebreau
bcd523ff67 Add typing 2021-01-21 01:01:34 +00:00
Dustin Davisson
3efa8b2f65 updating gitignore for env dir from venv. 2019-10-16 13:25:54 -07:00
Spike
89914bbbd8 Bumping version, adding vscode to .gitignore. Prepping for release of 0.10.2 2019-08-16 17:52:07 -07:00
BNMetrics
4a76a44c91 formatting on .gitignore 2019-06-25 19:57:03 +01:00
BNMetrics
f39b7e237e fixed a bug with var-file argument, allow workspace commands to pass flags and options 2019-06-25 19:53:39 +01:00
Sam McKelvie
ec826887f5 Add full support for 'output' command, and enable raise_on_error option
Add a general "raise_on_error" option to all terraform commands. If provided and
set to anything that evaluates to True, then TerraformCommandError (a subclass of
subprocess.CalledProcessError) will be raised if the returncode is not 0. The exception
object will have the following special proerties:
    returncode: The returncode from the command, as in subprocess.CalledProcessError.
    out:        The contents of stdout if available, otherwise None
    err:        The contents of stderr if available, otherwise None

Terraform.output() no longer requires an argument for the output name; if omitted, it
returns a dict of all outputs, exactly as expected from 'terraform output -json'.

Terraform.output() now accepts an optional "full_value" option. If provided and True, and
an output name was provided, then the return value will be a dict with "value", "type",
and "sensitive" fields, exactly as expected from 'terraform output -json <output-name>'

Added tests for all of this new functionality...
2017-10-13 13:36:25 -07:00
beelit94
64a06f9bd7 ignore dropbox files 2017-08-08 15:06:06 -07:00
Freddy Tan
bfd9b3a8ab python-terraform-1 Make option with bool value/ more sense for the caller 2016-11-24 15:13:43 +08:00
Freddy Tan
bac4f2270d try to build on travis 2016-11-19 19:17:08 +08:00
Freddy Tan
035566c514 1. ignore .cache 2016-11-19 18:29:47 +08:00
Freddy Tan
19b502f675 release 0.0.2 to fury 2016-02-25 17:38:05 +08:00
Freddy Tan
4ef52dca44 refactor 2016-02-25 17:22:11 +08:00
Freddy Tan
4ebdc607dc update 2015-12-31 15:15:51 +08:00