Sha256: ce9ca00aaec7d18bea15bd7aef74218693b477376fb9eb5d6b19d79b697b21a4

Contents?: true

Size: 915 Bytes

Versions: 1

Compression:

Stored size: 915 Bytes

Contents

# frozen_string_literal: true

module Terradactyl
  module Terraform
    module Rev011
      module Apply
        def defaults
          {
            'backup' => nil,
            'auto-approve' => false,
            'lock' => true,
            'lock-timeout' => '0s',
            'input' => true,
            'no-color' => false,
            'parallelism' => 10,
            'refresh' => true,
            'state' => 'terraform.tfstate',
            'state-out' => nil,
            # 'target'      => [], # not implemented
            # 'var'         => [], # not implemented
            'var-file' => nil
          }
        end

        def switches
          %w[
            auto-approve
            no-color
          ]
        end
      end
    end

    module Rev012
      module Apply
        include Rev011::Apply
      end
    end

    module Commands
      class Apply < Base
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
terradactyl-terraform-0.13.0 lib/terradactyl/terraform/commands/apply.rb