Sha256: e90176767a3ba1fd2a8b7fb5644c726474d21ab25dacc17bfe5ad8e75b3d7f3b

Contents?: true

Size: 905 Bytes

Versions: 15

Compression:

Stored size: 905 Bytes

Contents

# frozen_string_literal: true

module Terradactyl
  module Terraform
    module Subcommands
      module Plan
        def defaults
          {
            'destroy' => false,
            'detailed-exitcode' => false,
            'input' => true,
            'lock' => true,
            'lock-timeout' => '0s',
            'module-depth' => -1,
            'no-color' => false,
            'out' => nil,
            'parallelism' => 10,
            'refresh' => true,
            'state' => 'terraform.tfstate',
            # 'target'            => [], # not implemented
            # 'var'               => [], # not implemented
            'var-file' => nil
          }
        end

        def switches
          %w[
            destroy
            detailed-exitcode
            no-color
          ]
        end
      end
    end

    module Commands
      class Plan < 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/plan.rb
terradactyl-terraform-1.8.1 lib/terradactyl/terraform/commands/plan.rb
terradactyl-terraform-1.8.0 lib/terradactyl/terraform/commands/plan.rb
terradactyl-terraform-1.7.0 lib/terradactyl/terraform/commands/plan.rb
terradactyl-terraform-1.6.0 lib/terradactyl/terraform/commands/plan.rb
terradactyl-terraform-1.5.0 lib/terradactyl/terraform/commands/plan.rb
terradactyl-terraform-1.4.1 lib/terradactyl/terraform/commands/plan.rb
terradactyl-terraform-1.4.0 lib/terradactyl/terraform/commands/plan.rb
terradactyl-terraform-1.3.0 lib/terradactyl/terraform/commands/plan.rb
terradactyl-terraform-1.2.1 lib/terradactyl/terraform/commands/plan.rb
terradactyl-terraform-1.2.0 lib/terradactyl/terraform/commands/plan.rb
terradactyl-terraform-1.1.2 lib/terradactyl/terraform/commands/plan.rb
terradactyl-terraform-1.1.0 lib/terradactyl/terraform/commands/plan.rb
terradactyl-terraform-1.0.0 lib/terradactyl/terraform/commands/plan.rb
terradactyl-terraform-0.15.0 lib/terradactyl/terraform/commands/plan.rb