Sha256: f44d66db77f4a9675fc40ed396f8a1452dd92b902705f2e31a2dd5c65482b8a9

Contents?: true

Size: 729 Bytes

Versions: 104

Compression:

Stored size: 729 Bytes

Contents

module Terraspace::Terraform::Args
  module Shorthands
    COMMANDS_WITH_INPUT = %w[
      apply
      import
      init
      plan
      refresh
    ]

    COMMANDS_WITH_LOCKING = %w[
      apply
      destroy
      import
      init
      plan
      refresh
      taint
      untaint
    ]

    COMMANDS_WITH_PARALLELISM = %w[
      apply
      plan
      destroy
    ]

    COMMANDS_WITH_VARS = %w[
      apply
      console
      destroy
      import
      plan
      push
      refresh
    ]

    def shorthands
      {
        with_input: COMMANDS_WITH_INPUT,
        with_locking: COMMANDS_WITH_LOCKING,
        with_parallelism: COMMANDS_WITH_PARALLELISM,
        with_vars: COMMANDS_WITH_VARS,
      }
    end
  end
end

Version data entries

104 entries across 104 versions & 1 rubygems

Version Path
terraspace-2.2.17 lib/terraspace/terraform/args/shorthands.rb
terraspace-2.2.16 lib/terraspace/terraform/args/shorthands.rb
terraspace-2.2.15 lib/terraspace/terraform/args/shorthands.rb
terraspace-2.2.14 lib/terraspace/terraform/args/shorthands.rb
terraspace-2.2.13 lib/terraspace/terraform/args/shorthands.rb
terraspace-2.2.12 lib/terraspace/terraform/args/shorthands.rb
terraspace-2.2.11 lib/terraspace/terraform/args/shorthands.rb
terraspace-2.2.10 lib/terraspace/terraform/args/shorthands.rb
terraspace-2.2.9 lib/terraspace/terraform/args/shorthands.rb
terraspace-2.2.8 lib/terraspace/terraform/args/shorthands.rb
terraspace-2.2.7 lib/terraspace/terraform/args/shorthands.rb
terraspace-2.2.6 lib/terraspace/terraform/args/shorthands.rb
terraspace-2.2.5 lib/terraspace/terraform/args/shorthands.rb
terraspace-2.2.4 lib/terraspace/terraform/args/shorthands.rb
terraspace-2.2.3 lib/terraspace/terraform/args/shorthands.rb
terraspace-2.2.2 lib/terraspace/terraform/args/shorthands.rb
terraspace-2.2.1 lib/terraspace/terraform/args/shorthands.rb
terraspace-2.2.0 lib/terraspace/terraform/args/shorthands.rb
terraspace-2.1.7 lib/terraspace/terraform/args/shorthands.rb
terraspace-2.1.6 lib/terraspace/terraform/args/shorthands.rb