Skip to content

Trailing whitespaces in README break template #857

@sandertan

Description

@sandertan

Describe the bug

The current documentation contains a section with example configuration, which contains trailing whitespaces. These trailing whitespaces break the functionality.
https://terraform-docs.io/user-guide/configuration/#options
<!-- END_TF_DOCS -->

When running the configuration with white-space, the following error is displayed:

terraform-docs -c .terraform-docs.yml modules/storage_account
Error: value of '--output-template' is missing end comment

I can't find the white spaces in the code. Perhaps the documentation should be regenerated?

Related to #658 I think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions