Class: TerraformWrapper::Shared::Backends::Local

Inherits:
Common
  • Object
show all
Includes:
Logging
Defined in:
lib/terraform-wrapper/shared/backends/local.rb

Constant Summary collapse

@@type =
'local'

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Logging

configure_logger_for, logger_for

Methods inherited from Common

#type

Constructor Details

#initialize(options:, variables:) ⇒ Local

Returns a new instance of Local.



27
28
29
# File 'lib/terraform-wrapper/shared/backends/local.rb', line 27

def initialize(options:, variables:)
  construct(options: options, variables: variables)
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



23
24
25
# File 'lib/terraform-wrapper/shared/backends/local.rb', line 23

def path
  @path
end

Instance Method Details

#hashObject



33
34
35
36
37
# File 'lib/terraform-wrapper/shared/backends/local.rb', line 33

def hash
  {
    'path' => @path
  }
end