Skip to content

Commit

Permalink
validate: allow resources.md.tmpl and data-sources.md.tmpl to pas…
Browse files Browse the repository at this point in the history
…s validation

Closes hashicorp#182
  • Loading branch information
jacobbednarz committed Sep 12, 2022
1 parent aacbe10 commit ade0cc9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/provider/validate.go
Expand Up @@ -55,6 +55,10 @@ func validateTemplates(ui cli.Ui, dir string) error {
checkAllowedFiles(
"index.md",
"index.md.tmpl",
"resources.md",
"resources.md.tmpl",
"data-sources.md",
"data-sources.md.tmpl",
),
checkAllowedDirs(
"data-sources",
Expand Down

0 comments on commit ade0cc9

Please sign in to comment.