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
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
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
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
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
68954d1447
Merge branch 'develop' into asynch
2017-08-30 11:04:59 -07:00
beelit94
b098b5a1d8
minor refactor
2017-08-30 11:00:15 -07:00
beelit94
86182a604f
add changelog
2017-08-28 11:17:33 -07:00
Austin Page
825fa0e54f
Adding init command and support for backend terraform state files
2017-08-23 11:35:33 -05:00
Raquel Alegre
0b2eb3b1be
Return a reference to the subprocess so output can be handled from elsewhere.
2017-08-11 19:00:06 +01:00
beelit94
4f20dfab75
handle space or special characters in windows & linux
2017-08-08 14:58:33 -07:00
Wythe Lin
8214c6ac61
fix typo
2017-08-02 16:11:54 -07:00
Wythe Lin
966f2d9f64
remove wrong variables
2017-08-02 15:18:11 -07:00
Wythe Lin
5b6f4c133e
add dir_or_plan parameter
2017-08-02 10:59:01 -07:00
Wythe Lin
6fdd205527
remove
2017-08-02 10:29:54 -07:00
Wythe Lin
f7691f7d3c
fix https://github.com/beelit94/python-terraform/issues/12
2017-08-01 17:51:12 -07:00
beelit94
560ff0bc02
output debug message for variables write to temporary file
2017-05-15 11:07:01 +08:00
beelit94
3f18abb40e
fix tests with given environment variables
2017-05-09 16:05:48 +08:00
beelit94
733b8006c5
adding readme and test
2017-05-09 15:48:28 +08:00
Derrick Bryant
7a553c569f
Add option for real time Terraform output
2017-03-31 11:54:26 -07:00
beelit94
6fc11b313f
python-terraform-3 Refactor readme and how default value being passed
...
1. refactor default values
2. add plan method
2017-01-04 13:21:30 +08:00
beelit94
29d391664a
python-terraform-3 Refactor readme and how default value being passed
...
refactor default values
2017-01-04 01:34:37 +08:00
beelit94
dbd2f13384
python-terraform-3 Refactor readme and how default value being passed
...
refactor options usage illustration
2017-01-04 01:02:11 +08:00
beelit94
144b4c61c4
python-terraform-3 Refactor readme and how default value being passed
...
reorder readme, refactor name
2017-01-03 23:09:23 +08:00
Freddy Tan
211e73a109
1. fix typo
...
2. fix false bool value will skip
3. fix print to log
2016-12-21 00:18:57 +08:00
Freddy Tan
2d63fa8716
1. let variables able to accept map and list
...
2. refactor to be able to accept command as a instance attribute
3. add test cases
2016-12-20 18:53:01 +08:00
Freddy Tan
110a1f1c4f
python-terraform-1 Make option with bool value/ more sense for the caller
2016-11-24 15:09:16 +08:00
Freddy Tan
a4b16b2791
1.update version
...
2.fix for python2
2016-11-20 02:11:29 +08:00
Freddy Tan
f0c029d6e7
1.update version
...
2.fix for python2
2016-11-20 02:10:50 +08:00
Freddy Tan
bd1d08af71
1. update travis deploy
...
2. update README to adapt change
3. use IsFlagged class for flag option
4. add destroy method
2016-11-19 18:24:33 +08:00
Freddy Tan
699c7bb17c
fix terraform path on travis
2016-11-18 17:20:32 +08:00
Freddy Tan
2ff59f3630
1. add test cases, try tdd
...
2. refactor to more generic method instead of aws method
3. ready for release to pypi
2016-11-18 15:35:14 +08:00
Freddy Tan
4552a28f8e
fix typo
2016-05-24 11:43:12 +08:00
Freddy Tan
d4257ea870
fix parameters string
2016-05-24 11:10:47 +08:00
Freddy Tan
4ef52dca44
refactor
2016-02-25 17:22:11 +08:00