Class: Terraspace::Dependency::Helper::DependsOn
- Defined in:
- lib/terraspace/dependency/helper/depends_on.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 10 |
# File 'lib/terraspace/dependency/helper/depends_on.rb', line 3 def result if @mod.resolved # dependencies have been resolved # Note: A generated line is not really needed. Dependencies are stored in memory. Added to assist users with debugging "# #{@mod.name} depends on #{@identifier}" # raw String value else Terraspace::Terraform::RemoteState::Marker::Output.new(@mod, @identifier, @options).build # Returns OutputProxy which defaults to json end end |