Skip to content

Commit

Permalink
Update .terraform-docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wparr-circle authored Nov 3, 2023
1 parent 1e4f9ad commit 3158d8f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .terraform-docs.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
content: |-
## Examples
{{- if (file.IsDir "examples") -}}
{{- range $example := (file.ReadDir "examples") }}
{{ $examples := list "first" }}
{{- range $example := $examples }}
### Example {{ $example }}
```
{{ include (printf "examples/%s/main.tf" $example) }}
```
{{- end -}}
{{- end -}}
{{ .Requirements }}
{{ .Providers }}
{{ .Modules }}
Expand Down

0 comments on commit 3158d8f

Please sign in to comment.