Sha256: cc07c54332c96c01d4583370fe2978f13061e46993b5ce7ac1af426ef46c3e55

Contents?: true

Size: 503 Bytes

Versions: 9

Compression:

Stored size: 503 Bytes

Contents

module Ruby
  module Terraform
    module Tasks
      class OutputTask < BaseTask
        attr_accessor :state
        attr_accessor :json
        attr_accessor :name

        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
      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/output_task.rb
rake-terraform-wrapper-0.3.2 lib/ruby/terraform/tasks/output_task.rb
rake-terraform-wrapper-0.3.1 lib/ruby/terraform/tasks/output_task.rb
rake-terraform-wrapper-0.3.0 lib/ruby/terraform/tasks/output_task.rb
rake-terraform-wrapper-0.2.3 lib/ruby/terraform/tasks/output_task.rb
rake-terraform-wrapper-0.2.2 lib/ruby/terraform/tasks/output_task.rb
rake-terraform-wrapper-0.2.1 lib/ruby/terraform/tasks/output_task.rb
rake-terraform-wrapper-0.2.0 lib/ruby/terraform/tasks/output_task.rb
rake-terraform-wrapper-0.1.0 lib/ruby/terraform/tasks/output_task.rb