Module: Terraspace::Terraform::Args::Shorthands

Included in:
Dsl
Defined in:
lib/terraspace/terraform/args/shorthands.rb

Constant Summary collapse

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
]

Instance Method Summary collapse

Instance Method Details

#shorthandsObject



38
39
40
41
42
43
44
45
# File 'lib/terraspace/terraform/args/shorthands.rb', line 38

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