Module: Terraspace::CLI::TfcConcern

Extended by:
Memoist
Included in:
Down, Plan, Up
Defined in:
lib/terraspace/cli/tfc_concern.rb

Instance Method Summary collapse

Instance Method Details

#backendObject



9
10
11
# File 'lib/terraspace/cli/tfc_concern.rb', line 9

def backend
  Terraspace::Terraform::Runner::Backend::Parser.new(@mod).result
end

#tfc?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/terraspace/cli/tfc_concern.rb', line 5

def tfc?
  !!backend["remote"]
end