mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-24 07:26:26 -06:00
3eb4a89104
As a first example of a real-world data source, the pre-existing terraform_remote_state resource is adapted to be a data source. The original resource is shimmed to wrap the data source for backward compatibility.
27 lines
815 B
Plaintext
27 lines
815 B
Plaintext
<% wrap_layout :inner do %>
|
|
<% content_for :sidebar do %>
|
|
<div class="docs-sidebar hidden-print affix-top" role="complementary">
|
|
<ul class="nav docs-sidenav">
|
|
<li<%= sidebar_current("docs-home") %>>
|
|
<a href="/docs/providers/index.html">« Documentation Home</a>
|
|
</li>
|
|
|
|
<li<%= sidebar_current("docs-terraform-index") %>>
|
|
<a href="/docs/providers/terraform/index.html">Terraform Provider</a>
|
|
</li>
|
|
|
|
<li<%= sidebar_current(/^docs-terraform-datasource/) %>>
|
|
<a href="#">Data Sources</a>
|
|
<ul class="nav nav-visible">
|
|
<li<%= sidebar_current("docs-terraform-datasource-remote-state") %>>
|
|
<a href="/docs/providers/terraform/d/remote_state.html">terraform_remote_state</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<% end %>
|
|
|
|
<%= yield %>
|
|
<% end %>
|