Class: RubyTerraform::Output

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

Class Method Summary collapse

Class Method Details

.for(parameters) ⇒ Object



6
7
8
9
10
11
# File 'lib/ruby_terraform/output.rb', line 6

def for(parameters)
  Dir.chdir(create_config_directory(parameters)) do
    RubyTerraform.init(backend_config: parameters[:backend_config])
    RubyTerraform.output(parameters)
  end
end