Class: TerraformWrapper::Shared::Backends::Local
- Includes:
- Logging
- Defined in:
- lib/terraform-wrapper/shared/backends/local.rb
Constant Summary collapse
- @@type =
"local"
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
- #hash ⇒ Object
-
#initialize(options:, variables:) ⇒ Local
constructor
A new instance of Local.
Methods included from Logging
configure_logger_for, logger_for
Methods inherited from Common
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: , variables: variables) end |
Instance Attribute Details
#path ⇒ Object (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
#hash ⇒ Object
37 38 39 40 41 |
# File 'lib/terraform-wrapper/shared/backends/local.rb', line 37 def hash() return { "path" => @path } end |