IMPROVEMENTS:
- The underlying
lino
library has been upgraded which meansruby_terraform
can now spawn processes on Microsoft Windows in addition to unixes. - Add support for
-migrate-state
flag toRubyTerraform::Commands::Init
. - Add support for
-or-create
flag toRubyTerraform::Commands::WorkspaceSelect
.
IMPROVEMENTS:
- The
RubyTerraform::MultiIO
class now more closely implements theIO
contract. The#<<
method has been added and the existing methods now return the expected values. - Preliminary support has been added for modelling Terraform plans in Ruby
types. The new
RubyTerraform::Models
namespace contains classes and factory functions to parse and wrap a generated plan, retrieved using theshow
command. The plan representation is currently incomplete and these type classes should be considered alpha quality for the time being.
IMPROVEMENTS:
- Add support for exposing environment variables to Terraform via a second hash
of invocation options in command class methods and on the command
#execute
method.
IMPROVEMENTS:
- Add support for
replace
and / orreplaces
options to be passed toplan
andapply
commands.
BUG FIXES:
- Add missing requires.
IMPROVEMENTS:
- Allow arbitrary parameters to be passed to RubyTerraform::Output::for.
IMPROVEMENTS:
- Upgraded to latest version of dependencies.
BUG FIXES:
- Fixed version number in published documentation.
BREAKING CHANGES:
- Removed
RemoteConfig
command since it has not been a part of Terraform since version 0.8. - Removed
Clean
command since it is not a Terraform command and was included as a utility forRakeTerraform
which can handle this itself. - Removed
:directory
option fromShow
command as it is not a part of the command. Use:path
instead, which is a path to a state file or a plan. - Renamed
:workspace
option to:name
on workspace commands in line with how Terraform refers to it.
IMPROVEMENTS:
- Added support for most outstanding commands.
- Added support for all outstanding options.
- Added Terraform 0.15 support.
IMPROVEMENTS
- Added support for
target
and / ortargets
options to be passed toapply
,plan
,refresh
anddestroy
commands. - Added support for
plan
option toapply
command to be more clear when applying a prebuilt plan.
IMPROVEMENTS:
- Added configurable logger and standard streams.
IMPROVEMENTS:
- Allowed
check_variables
option to be passed tovalidate
command
BUG FIXES:
- Added missing
StringIO
dependency inoutput
command
IMPROVEMENTS:
- Added refresh command
- Added validate command
BACKWARDS INCOMPATIBILITIES / NOTES:
- Due to backwards incompatible changes in terraform 0.10, this release will only work with terraform >= 0.10.
IMPROVEMENTS:
- The init command now uses -from-module to specify the source module
- The apply command now supports -auto-approve in preparation for an upcoming terraform release that will set this flag to false by default.