- Fixed: removed 'os.chdir' calls that were causing os.chdir errors
- https://developer.hashicorp.com/terraform/language/v1.1.x/upgrade-guides/0-15#commands-accepting-a-configuration-directory-argument
- Fixed: unit tests
- Fixed: apply for non default terraform binary path
- Moving to newer dda_python_terraform library! (This will allow support for terraform > 0.14)
- Utilize version and set semantic_version within the library after being initialized for each action
- Bugfix: Invalid variable name in output.
- Added: Results as output to pipeline action.
- Drop Python 2.7 support
- Added: upgrade option to
initaction
-
Release to force new tags since 0.5.0 is broken
Contributed by Nick Maludy (@nmaludy, Encore Technologies)
- Added: Support for targeting resources on the
destroyaction.
- Fixed: Passed tfstate file to output function in lib/action.py to retrieve outputs on any tfstate file instead of only terraform.tfstate
- Added: Parameter for defining state file in output action
- Added: Support for streaming output in real-time.
- Changed: Adjustments to the result for
plan,apply,destroy,init. Stdout and stderr will redirect to proper sys outputs. To be captured and set by Stackstorm properly. Return the terraform output (terraform output) where applicable in json/dict format to be used in subsequent actions.
- Fixed: Apply broken, auto_approve=True being ignored. Visit this for more details.
- Fixed: Pin
python-terraformversion to0.10.1in requirements.txt instead of using the develop branch. Visit this for more details.
- Added: timeout parameter to pipeline workflow allowing long running
applyanddestroy(above ST2 default of 600 seconds)
- Changed: Orquesta-ified the pipeline workflow
- Added: variable_dict variable to pipeline workflow
- Fixed: requirements.txt was installing an old version of the python-terraform module
- Added: action to import objects into terraform files
- Added: state_file_path and variable_dict variables to destroy action
- Added: state_file_path variable to plan and apply actions to specify state file to use.
- Added: target_resources variable to plan and apply actions to specify target resources.
- Added: variable_dict variable to plan and apply actions to pass variables to terraform without needing a file.
- Added: tests folder with unit tests for python actions.
- Added: check_result function to lib/action.py that was used in most actions.
- Fixed: The
pipelineandinitworkflows need thebackendparameter to be an object.
- Fixed: The name of the workflow
pipelineneeded to be changed to match what is in the metadata. - Removed the
no_deploycalls in plan. This is now afail. - Fixed: Calls from the
pipelineworkflow intoplanandapplywere using the wrong input name.
- Set auto_approve = True for applying changes
- First release