mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-23 23:22:57 -06:00
861ac536dd
The template resources don't actually need to retain any state, so they are good candidates to be data sources. This includes a few tweaks to the acceptance tests -- now configured to run as unit tests -- since it seems that they have been slightly broken for a while now. In particular, the "update" cases are no longer tested because updating is not a meaningful operation for a data source.
30 lines
970 B
Plaintext
30 lines
970 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-template-index") %>>
|
|
<a href="/docs/providers/template/index.html">Template Provider</a>
|
|
</li>
|
|
|
|
<li<%= sidebar_current(/^docs-template-datasource/) %>>
|
|
<a href="#">Data Sources</a>
|
|
<ul class="nav nav-visible">
|
|
<li<%= sidebar_current("docs-template-datasource-file") %>>
|
|
<a href="/docs/providers/template/d/file.html">template_file</a>
|
|
</li>
|
|
<li<%= sidebar_current("docs-template-datasource-cloudinit-config") %>>
|
|
<a href="/docs/providers/template/d/cloudinit_config.html">template_cloudinit_config</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<% end %>
|
|
|
|
<%= yield %>
|
|
<% end %>
|