Commit graph

266 commits

Author SHA1 Message Date
Dustin Davisson
3efa8b2f65 updating gitignore for env dir from venv. 2019-10-16 13:25:54 -07:00
beelit94
e915a81f7c
Merge pull request #65 from 0x29a/develop
Replace deprecated warn with warning
2019-10-15 14:32:53 -07:00
noname
7c4ac21fb3 Replace deprecated warn with warning 2019-10-10 14:00:18 +03:00
Spike
89914bbbd8 Bumping version, adding vscode to .gitignore. Prepping for release of 0.10.2 2019-08-16 17:52:07 -07:00
Spikeophant
bcc1321563
Merge pull request #60 from szarya/hotfix/fix_synchronous_flag
Move synchrounous pop uphill, so it doesn't end up as a flag in the a…
2019-08-06 16:17:21 -07:00
Spikeophant
3eaaec37d0
Merge pull request #57 from BNMetrics/develop
fixed a bug with var-file argument, allow workspace commands to pass flags and options
2019-07-08 10:05:08 -07:00
BNMetrics
09fdcf2f11 fixed flaky tests 2019-06-25 22:12:41 +01:00
BNMetrics
c0ff5bf65a fixed terraform version and python version compat issue in test 2019-06-25 21:33:38 +01: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
beelit94
a63e9dad24
Merge pull request #56 from beelit94/master
Master to develop
2019-06-21 00:07:02 -07:00
beelit94
76351ba371
Merge pull request #52 from beelit94/release/0.10.1
release/0.10.1
2019-06-20 23:43:10 -07:00
beelit94
ce788acc3f Bump version: 0.10.0 → 0.10.1 2019-06-20 23:42:16 -07:00
beelit94
6d8dde7991 1. Updating test env and Contribution doc
2. adding change log for 0.10.1
2019-06-20 23:28:02 -07:00
beelit94
0a7162a5ce roll back terraform version 2019-06-20 23:22:28 -07:00
beelit94
172ab6b509 roll back python version 2019-06-20 23:04:30 -07:00
Stephan Zaria
7056a853da Move synchrounous pop uphill, so it doesn't end up as a flag in the actual terraform command 2019-06-10 09:59:40 -07:00
beelit94
c79e807028 adding change log for 0.10.1 2019-06-05 00:14:23 -07:00
beelit94
3a32241cf1 Updating test env and Contribution doc 2019-06-05 00:07:24 -07:00
beelit94
a05fc98e8d
Merge pull request #49 from Spikeophant/develop
Adding workspace support
2019-06-04 23:17:35 -07:00
DJDavisson
c6d37cbaeb Removing uncessary comment in __init__. 2019-05-31 11:49:32 -07:00
DJDavisson
35db7917b0 Fixing missing , 2019-05-31 11:36:53 -07:00
DJDavisson
29daa9c40a Modifying returns to use proper format. 2019-05-31 11:31:30 -07:00
beelit94
c46560eeed
Merge pull request #48 from jschoewe/develop
bugfix/terraform 12 var-file suffix
2019-05-30 23:15:27 -07:00
DJDavisson
c000d00504 Fixing tests. 2019-05-20 11:34:42 -07:00
DJDavisson
70920d828c Adding workspace deletion. 2019-05-08 10:55:53 -07:00
DJDavisson
01e3dbb05a Removing optiosn and args pass from state stuff, state stuff doesn't take options or args. 2019-05-07 12:11:28 -07:00
DJDavisson
3ddab331f0 Adding tests, 2 are failing, looking into how to handle. 2019-05-07 11:39:07 -07:00
DJDavisson
64e804e7a0 Removing uncessary workspace from __init__ Will add back with some checking in the future. 2019-05-07 09:55:13 -07:00
DJDavisson
0228de1a60 Cleanup. 2019-05-03 14:17:46 -07:00
DJDavisson
749bec79e4 Adding additional workspace items. 2019-05-03 13:59:48 -07:00
DJDavisson
57a80d7e71 Removing working dir. 2019-05-03 13:55:38 -07:00
DJDavisson
05c44c2cdc Adding workspace support. 2019-05-03 13:54:28 -07:00
John Schoewe
832fc9eb7d
Merge pull request #1 from jschoewe/bugfix/terraform-12-var-file-name-suffix
Added suffix variable
2019-04-09 22:57:46 -04:00
John Schoewe
576197d768 Added suffix variable 2019-04-09 22:54:15 -04:00
beelit94
813d23d759
Merge pull request #37 from beelit94/develop
release 0.10.0
2018-04-13 14:27:11 -07:00
beelit94
99950cb03c add release doc 2018-03-19 18:34:08 -07:00
beelit94
a27362a145 Bump version: 0.9.1 → 0.10.0 2018-03-19 18:30:49 -07:00
beelit94
e2b7bd4686
Merge pull request #18 from raquel-ucl/asynch
Return access to the subprocess so output can be handled as desired
2018-03-19 18:28:40 -07:00
beelit94
fe0e651607
Merge pull request #27 from waghanza/no_interaction
No interaction
2017-11-24 14:36:11 -08:00
Marwan Rabbâa
e9255b118c add force param to terraform apply 2017-11-24 22:36:44 +01:00
beelit94
bd6528e68e Merge pull request #24 from surround-io/develop
Full support for output(); support for raise_on_error
2017-10-16 10:22:06 -07:00
Sam McKelvie
98d221c779 address pull request feedback 2017-10-16 09:12:34 -07:00
Sam McKelvie
99c67e5fe5 Address pull request feedback 2017-10-16 09:03:45 -07:00
Sam McKelvie
4945f4591d Make tests pass with old and new terraform 2017-10-13 14:20:36 -07:00
Sam McKelvie
723ab0b79e Merge pull request #1 from surround-io/sammck-develop
Add full support for 'output' command, and enable raise_on_error option
2017-10-13 13:52:38 -07: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
9afa4e1d4e Merge branch 'release/0.9.1' 2017-09-01 09:52:44 -07:00
beelit94
a4b36e1418 Merge branch 'release/0.9.1' into develop 2017-09-01 09:52:44 -07:00
beelit94
3c9ea8b526 Bump version: 0.9.0 → 0.9.1 2017-09-01 09:51:54 -07:00