Method: TFWrapper::RakeTasks.install_tasks

Defined in:
lib/tfwrapper/raketasks.rb

.install_tasks(tf_dir, opts = {}) ⇒ Object

Install the Rake tasks for working with Terraform. For full parameter documentation, see #initialize

Parameters:

  • tf_dir (String)

    Terraform config directory, relative to Rakefile. Set to ‘.’ if the Rakefile is in the same directory as the .tf configuration files.

  • opts (Hash) (defaults to: {})

    a customizable set of options



31
32
33
# File 'lib/tfwrapper/raketasks.rb', line 31

def install_tasks(tf_dir, opts = {})
  new(tf_dir, opts).install
end