pre-commit-opentofu icon indicating copy to clipboard operation
pre-commit-opentofu copied to clipboard

support .tofu files

Open carnei-ro opened this issue 1 year ago • 2 comments
trafficstars

What problem are you facing?

OpenTofu 1.8.0 has been released. Now it is possible to have .tofu files instead of .tf files.

How could pre-commit-opentofu help solve your problem?

I'd like to be able to use the pre-commit rules on those new .tofu files.

carnei-ro avatar Jul 30 '24 12:07 carnei-ro

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days

github-actions[bot] avatar Aug 30 '24 01:08 github-actions[bot]

would also very much like to see this :)

joelmccoy avatar Sep 20 '24 16:09 joelmccoy

This issue has been resolved in version 2.1.0 :tada:

kvendingoldo avatar Oct 16 '24 20:10 kvendingoldo

I'm still getting an empty README.md with modules containing .tofu files. Does this work for somebody?

It feels like there's still some work to be done in terraform-docs: https://github.com/terraform-docs/terraform-docs/issues/811

muffl0n avatar Apr 04 '25 08:04 muffl0n

I'm still getting an empty README.md with modules containing .tofu files. Does this work for somebody?

It feels like there's still some work to be done in terraform-docs: terraform-docs/terraform-docs#811

I am also just getting an empty README.md. I guess .tofu files arent fully support yet in terraform-docs?

samukaro avatar Aug 14 '25 07:08 samukaro

Can we re-open this issue please? I too am getting empty READMEs

leezero-carbon avatar Sep 04 '25 09:09 leezero-carbon

Sure, we have to fix it.

kvendingoldo avatar Sep 04 '25 10:09 kvendingoldo

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days

github-actions[bot] avatar Oct 05 '25 01:10 github-actions[bot]

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days

github-actions[bot] avatar Nov 05 '25 01:11 github-actions[bot]