Class: Bcome::Terraform::Output

Inherits:
Object
  • Object
show all
Defined in:
lib/objects/terraform/output.rb

Constant Summary collapse

OUTPUT_COMMAND =
'terraform output -json'

Instance Method Summary collapse

Constructor Details

#initialize(namespace) ⇒ Output

Returns a new instance of Output.



9
10
11
# File 'lib/objects/terraform/output.rb', line 9

def initialize(namespace)
  @namespace = namespace
end

Instance Method Details

#outputObject



13
14
15
# File 'lib/objects/terraform/output.rb', line 13

def output
  @output ||= get_output
end