bom
e3e5ad775f
fixed another test_cmd case
2 years ago
bom
021db11acb
fixed plan cmd test
2 years ago
bom
46b20fe086
removed obsolete tests
2 years ago
bom
3d2c7ae396
fixed output tests
2 years ago
bom
412ea860f8
updated tests with global_opts
2 years ago
jem
f913b1d6b7
default for compatibility
3 years ago
jem
ee097cb230
cmd now works for 0.13 again
3 years ago
jem
5d1ee33790
wip
3 years ago
jem
607cdaf408
adjust cmd to new 1.0 release
3 years ago
jem
40a7cba90d
post-fork-work
3 years ago
Francois Lebreau
7080f38a93
Support Terraform 0.14
3 years ago
Francois Lebreau
785e9a3ce7
Fix tests
3 years ago
aubustou
6ea1320bef
Fix unit tests for Terraform 0.13
4 years ago
aubustou
151c5dc92a
Add pre-commit and apply Black format
4 years ago
aubustou
ffd9e1de2a
Fix tests
4 years ago
BNMetrics
09fdcf2f11
fixed flaky tests
5 years ago
BNMetrics
c0ff5bf65a
fixed terraform version and python version compat issue in test
5 years ago
BNMetrics
f39b7e237e
fixed a bug with var-file argument, allow workspace commands to pass flags and options
5 years ago
DJDavisson
c000d00504
Fixing tests.
5 years ago
DJDavisson
01e3dbb05a
Removing optiosn and args pass from state stuff, state stuff doesn't take options or args.
5 years ago
DJDavisson
3ddab331f0
Adding tests, 2 are failing, looking into how to handle.
5 years ago
Sam McKelvie
99c67e5fe5
Address pull request feedback
7 years ago
Sam McKelvie
4945f4591d
Make tests pass with old and new terraform
7 years ago
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...
7 years ago
Austin Page
825fa0e54f
Adding init command and support for backend terraform state files
7 years ago
beelit94
4f20dfab75
handle space or special characters in windows & linux
7 years ago
beelit94
4c65c1bbbe
add compatabilty for 0.10.0
7 years ago
beelit94
3c700b9830
add compatabilty for 0.10.0
7 years ago
beelit94
3b5fe8203e
clean up files
7 years ago
beelit94
965a39e3bf
1. test with more felxible string order
...
2. test with latest terraform
7 years ago
beelit94
12d57862ed
add more parameter test for output
7 years ago
beelit94
4709bd069a
fix test code
7 years ago
beelit94
b922750de0
use log to test
7 years ago
beelit94
3f18abb40e
fix tests with given environment variables
7 years ago
beelit94
733b8006c5
adding readme and test
7 years ago
beelit94
38222a42f5
fix terraform import cmd is a reseved word of python
7 years ago
beelit94
d25f2eff23
fix the test
8 years ago
beelit94
a2d3baaf80
purposely fail the test for testing notification
8 years ago
beelit94
6fc11b313f
python-terraform-3 Refactor readme and how default value being passed
...
1. refactor default values
2. add plan method
8 years ago
beelit94
144b4c61c4
python-terraform-3 Refactor readme and how default value being passed
...
reorder readme, refactor name
8 years ago
Freddy Tan
df78cfe9be
fix teardown
8 years ago
Freddy Tan
839b30d72a
add test case for options
8 years ago
Freddy Tan
d2440a6b21
fix test working directory
8 years ago
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
8 years ago
Freddy Tan
bfd9b3a8ab
python-terraform-1 Make option with bool value/ more sense for the caller
8 years ago
Freddy Tan
bd1d08af71
1. update travis deploy
...
2. update README to adapt change
3. use IsFlagged class for flag option
4. add destroy method
8 years ago
Freddy Tan
7b9a0491ca
1. remove aws case
...
2. update travis method
8 years ago
Freddy Tan
b739004102
add travis
8 years ago
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
8 years ago
Freddy Tan
4ef52dca44
refactor
8 years ago