Class: Terraspace::Dependency::Helper::Output
- Defined in:
- lib/terraspace/dependency/helper/output.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Terraspace::Dependency::Helper::Base
Instance Method Details
#result ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/terraspace/dependency/helper/output.rb', line 3 def result if @mod.resolved # dependencies have been resolved Terraspace::Terraform::RemoteState::Fetcher.new(@mod, @identifier, @options).output # Returns OutputProxy which defaults to json else Terraspace::Terraform::RemoteState::Marker::Output.new(@mod, @identifier, @options).build # Returns OutputProxy => Unresolved end end |