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.



31
32
33
# File 'lib/terraform-wrapper/shared/backends/local.rb', line 31

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

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



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

def path
  @path
end

Instance Method Details

#hashObject



37
38
39
40
41
# File 'lib/terraform-wrapper/shared/backends/local.rb', line 37

def hash()
  return {
    "path" => @path
  }
end