Sha256: 3d1091cb46219d03311f2ac1d742e3d15a75888a7d9968298649490b8b7e6bdd

Contents?: true

Size: 834 Bytes

Versions: 15

Compression:

Stored size: 834 Bytes

Contents

# frozen_string_literal: true

module Terradactyl
  module Terraform
    module Subcommands
      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 Commands
      class Apply < Base
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
terradactyl-terraform-1.8.2 lib/terradactyl/terraform/commands/apply.rb
terradactyl-terraform-1.8.1 lib/terradactyl/terraform/commands/apply.rb
terradactyl-terraform-1.8.0 lib/terradactyl/terraform/commands/apply.rb
terradactyl-terraform-1.7.0 lib/terradactyl/terraform/commands/apply.rb
terradactyl-terraform-1.6.0 lib/terradactyl/terraform/commands/apply.rb
terradactyl-terraform-1.5.0 lib/terradactyl/terraform/commands/apply.rb
terradactyl-terraform-1.4.1 lib/terradactyl/terraform/commands/apply.rb
terradactyl-terraform-1.4.0 lib/terradactyl/terraform/commands/apply.rb
terradactyl-terraform-1.3.0 lib/terradactyl/terraform/commands/apply.rb
terradactyl-terraform-1.2.1 lib/terradactyl/terraform/commands/apply.rb
terradactyl-terraform-1.2.0 lib/terradactyl/terraform/commands/apply.rb
terradactyl-terraform-1.1.2 lib/terradactyl/terraform/commands/apply.rb
terradactyl-terraform-1.1.0 lib/terradactyl/terraform/commands/apply.rb
terradactyl-terraform-1.0.0 lib/terradactyl/terraform/commands/apply.rb
terradactyl-terraform-0.15.0 lib/terradactyl/terraform/commands/apply.rb