Sha256: 85b19b91e727845f44faf08826bd412cb243b7ac19fc786aec4e61a140a6a4f8

Contents?: true

Size: 457 Bytes

Versions: 9

Compression:

Stored size: 457 Bytes

Contents

module Ruby
  module Terraform
    module Tasks
      class PlanTask < BaseTask
        attr_accessor :state
        attr_accessor :vars

        def define
          desc description || "Plan #{configuration_name} using terraform"
          task task_name => Array(deps) do
            Commands::PlanCommand.new(dir: dir, state: state, vars: vars).execute(show_command: show_command, live: show_output)
          end
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rake-terraform-wrapper-0.3.3 lib/ruby/terraform/tasks/plan_task.rb
rake-terraform-wrapper-0.3.2 lib/ruby/terraform/tasks/plan_task.rb
rake-terraform-wrapper-0.3.1 lib/ruby/terraform/tasks/plan_task.rb
rake-terraform-wrapper-0.3.0 lib/ruby/terraform/tasks/plan_task.rb
rake-terraform-wrapper-0.2.3 lib/ruby/terraform/tasks/plan_task.rb
rake-terraform-wrapper-0.2.2 lib/ruby/terraform/tasks/plan_task.rb
rake-terraform-wrapper-0.2.1 lib/ruby/terraform/tasks/plan_task.rb
rake-terraform-wrapper-0.2.0 lib/ruby/terraform/tasks/plan_task.rb
rake-terraform-wrapper-0.1.0 lib/ruby/terraform/tasks/plan_task.rb