class Ruby::Terraform::Tasks::OutputTask

Attributes

json[RW]
name[RW]
state[RW]

Public Instance Methods

define() click to toggle source
# File lib/ruby/terraform/tasks/output_task.rb, line 9
def define
  desc description || "Output #{configuration_name} using terraform"
  task task_name => Array(deps) do
    Commands::OutputCommand.new(dir: dir, state: state, json: json, name: name).execute(show_command: show_command, live: show_output)
  end
end