<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>How-toes on </title>
    <link>https://deploy-preview-66--terraform-docs-live.netlify.app/how-to/</link>
    <description>Recent content in How-toes on </description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-US</language><atom:link href="https://deploy-preview-66--terraform-docs-live.netlify.app/how-to/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>CLI Flag &#39;false&#39; value</title>
      <link>https://deploy-preview-66--terraform-docs-live.netlify.app/how-to/cli-flag-false-value/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://deploy-preview-66--terraform-docs-live.netlify.app/how-to/cli-flag-false-value/</guid>
      <description>Boolean flags can only take arguments via --flag=[true|false] or for short names (if available) -f=[true|false]. You cannot use --flag [true|false] nor can you use the shorthand -f [true|false] as it will result in the following error:
Error: accepts 1 arg(s), received 2 Example:
# disable reading .terraform.lock.hcl $ terraform-docs markdown --lockfile=false /path/to/module </description>
    </item>
    
    <item>
      <title>Configuration File</title>
      <link>https://deploy-preview-66--terraform-docs-live.netlify.app/how-to/configuration-file/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://deploy-preview-66--terraform-docs-live.netlify.app/how-to/configuration-file/</guid>
      <description>Since v0.10.0
Configuration can be loaded with -c, --config string. Take a look at configuration page for all the details.
$ pwd /path/to/parent/folder $ tree . ├── module-a │ └── main.tf ├── module-b │ └── main.tf ├── ... └── .terraform-docs.yml # executing from parent $ terraform-docs -c .terraform-docs.yml module-a/ # executing from child $ cd module-a/ $ terraform-docs -c ../.terraform-docs.yml . # or an absolute path $ terraform-docs -c /path/to/parent/folder/.terraform-docs.yml .</description>
    </item>
    
    <item>
      <title>Visibility of Sections</title>
      <link>https://deploy-preview-66--terraform-docs-live.netlify.app/how-to/visibility-of-sections/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://deploy-preview-66--terraform-docs-live.netlify.app/how-to/visibility-of-sections/</guid>
      <description>Since v0.10.0
Output generated by terraform-docs consists of different sections which are visible by default. The visibility of these can be controlled by one of the following options:
 --show &amp;lt;name&amp;gt; --hide &amp;lt;name&amp;gt; --show-all (deprecated in v0.13.0, removed in v0.15.0) --hide-all (deprecated in v0.13.0, removed in v0.15.0)  As of v0.13.0 flags --show-all and --hide-all are deprecated in favor of explicit use of --show and --hide. In other words when --show &amp;lt;section&amp;gt; is used, only &amp;lt;section&amp;gt; will be shown.</description>
    </item>
    
    <item>
      <title>Ignore Resources to be Generated</title>
      <link>https://deploy-preview-66--terraform-docs-live.netlify.app/how-to/ignore-resources/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://deploy-preview-66--terraform-docs-live.netlify.app/how-to/ignore-resources/</guid>
      <description>Since v0.18.0
Any type of resources can be ignored from the generated output by prepending them with a comment terraform-docs-ignore. Supported type of Terraform resources to get ignored are:
 resource data module variable output    If a resource or data is ignored, their corresponding discovered provider will also get ignored from &amp;ldquo;Providers&amp;rdquo; section.   Take the following example:
################################################################## # All of the following will be ignored from the generated output # ################################################################## # terraform-docs-ignore resource &amp;#34;foo_resource&amp;#34; &amp;#34;foo&amp;#34; {}# This resource is going to get ignored from generated # output by using the following known comment.</description>
    </item>
    
    <item>
      <title>Insert Output To File</title>
      <link>https://deploy-preview-66--terraform-docs-live.netlify.app/how-to/insert-output-to-file/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://deploy-preview-66--terraform-docs-live.netlify.app/how-to/insert-output-to-file/</guid>
      <description>Since v0.12.0
Generated output can be inserted directly into the file. There are two modes of insertion: inject (default) or replace. Take a look at output configuration for all the details.
terraform-docs markdown table --output-file README.md --output-mode inject /path/to/module   --output-file can be relative to module path or an absolute path in filesystem.   $ pwd /path/to/module $ tree . . ├── docs │ └── README.md ├── ... └── main.</description>
    </item>
    
    <item>
      <title>Include Examples</title>
      <link>https://deploy-preview-66--terraform-docs-live.netlify.app/how-to/include-examples/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://deploy-preview-66--terraform-docs-live.netlify.app/how-to/include-examples/</guid>
      <description>Since v0.14.0
Example can be automatically included into README by using content in configuration file. For example:
$ tree . ├── examples │ ├── example-1 │ │ ├── main.tf │ └── example-2 │ └── main.tf ├── ... ├── main.tf ├── variables.tf ├── ... └── .terraform-docs.yml and
# .terraform-docs.ymlcontent:|-{{ .Header }} ## Example ```hcl {{ include &amp;#34;examples/example-1/main.tf&amp;#34; }} ``` {{ .Inputs }} {{ .Outputs }}</description>
    </item>
    
    <item>
      <title>Recursive Submodules</title>
      <link>https://deploy-preview-66--terraform-docs-live.netlify.app/how-to/recursive-submodules/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://deploy-preview-66--terraform-docs-live.netlify.app/how-to/recursive-submodules/</guid>
      <description>Since v0.15.0
Considering the file structure below of main module and its submodules, it is possible to generate documentation for the main and all its submodules in one execution, with --recursive flag.
  Generating documentation recursively is allowed only with --output-file set.   Path to find submodules can be configured with --recursive-path (defaults to modules).
The main module document is generated by default, which can be configured with --recursive-include-main.</description>
    </item>
    
    <item>
      <title>Generate terraform.tfvars</title>
      <link>https://deploy-preview-66--terraform-docs-live.netlify.app/how-to/generate-terraform-tfvars/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://deploy-preview-66--terraform-docs-live.netlify.app/how-to/generate-terraform-tfvars/</guid>
      <description>Since v0.9.0
You can generate terraform.tfvars in both hcl and json format by executing the following, respectively:
terraform-docs tfvars hcl /path/to/module terraform-docs tfvars json /path/to/module   Required input variables will be &amp;quot;&amp;quot; (empty) in HCL and null in JSON format.   </description>
    </item>
    
    <item>
      <title>GitHub Action</title>
      <link>https://deploy-preview-66--terraform-docs-live.netlify.app/how-to/github-action/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://deploy-preview-66--terraform-docs-live.netlify.app/how-to/github-action/</guid>
      <description>To use terraform-docs GitHub Action, configure a YAML workflow file (e.g. .github/workflows/documentation.yml) with the following:
name:Generate terraform docson:- pull_requestjobs:docs:runs-on:ubuntu-lateststeps:- uses:actions/checkout@v3with:ref:${{ github.event.pull_request.head.ref }}- name:Render terraform docs and push changes back to PRuses:terraform-docs/gh-actions@mainwith:working-dir:.output-file:README.mdoutput-method:injectgit-push:&amp;#34;true&amp;#34;Read more about terraform-docs GitHub Action and its configuration and examples.</description>
    </item>
    
    <item>
      <title>pre-commit Hooks</title>
      <link>https://deploy-preview-66--terraform-docs-live.netlify.app/how-to/pre-commit-hooks/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://deploy-preview-66--terraform-docs-live.netlify.app/how-to/pre-commit-hooks/</guid>
      <description>Since v0.12.0
With pre-commit, you can ensure your Terraform module documentation is kept up-to-date each time you make a commit.
  simply create or update a .pre-commit-config.yaml in the root of your Git repo with at least the following content:
repos:- repo:https://github.com/terraform-docs/terraform-docsrev:&amp;#34;&amp;lt;VERSION, TAG, OR SHA TO USE&amp;gt;&amp;#34;# e.g. &amp;#34;v0.11.2&amp;#34;hooks:- id:terraform-docs-goargs:[&amp;#34;ARGS&amp;#34;,&amp;#34;TO PASS&amp;#34;,&amp;#34;INCLUDING PATH&amp;#34;]# e.g. [&amp;#34;--output-file&amp;#34;, &amp;#34;README.md&amp;#34;, &amp;#34;./mymodule/path&amp;#34;]  You can also include more than one entry under hooks: to update multiple docs.</description>
    </item>
    
  </channel>
</rss>
