Module: RSpec::Terraform::Helpers::Actions::Show
- Includes:
- CommandInstantiation
- Included in:
- Plan
- Defined in:
- lib/rspec/terraform/helpers/actions/show.rb
Instance Method Summary collapse
Methods included from CommandInstantiation
Instance Method Details
#show(parameters, plan_file) ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/rspec/terraform/helpers/actions/show.rb', line 15 def show(parameters, plan_file) parameters = show_parameters(parameters, plan_file) log_show_starting(parameters, plan_file) log_show_using_parameters(parameters) stdout = StringIO.new show_command(stdout: stdout) .execute(parameters) log_show_complete stdout.string end |