Skip to content

Disableable running terraform-docs in test-module #2757

@mizukmb

Description

@mizukmb

tfaction version

v1.17.0

Overview

I want to control the terraform-docs execution for tfaction/test-module via its configuration file (tfaction.yaml or tfaction_module.yaml), just as it works for tfaction/test.

How to reproduce

tfaction-root.yaml

terraform_docs:
  enabled: false

tfaction.yaml

GitHub Actions Workflow

- uses: suzuki-shunsuke/tfaction/test-module@fe01abc967d9c7a9889abbb8502e2947a1dfece3 # v1.17.0

Expected behaviour

Setting terraform_docs.enabled: (true|false) in tfaction.yaml or tfaction_module.yaml allows you to control the terraform-docs execution when tfaction/test-module runs.

Actual behaviour

terraform-docs is always executed, ignoring the terraform_docs.enabled setting in tfaction.yaml and tfaction_module.yaml.

Note

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions