Azure / terraform-azurerm-avm-template

Template repo for Azure Verified Modules using Terraform
MIT License
47 stars 30 forks source link

terrafmt parameter correction in docs-check workflow #37

Closed kewalaka closed 1 year ago

kewalaka commented 1 year ago

In this line here, I think it should be "$f" rather than "$$f" ?

https://github.com/Azure/terraform-azurerm-avm-template/blob/3eb7a2006253161c483dd52192c69e526dd4bd36/.github/actions/docs-check/action.yml#L30C93-L30C95

i.e.

        find . | egrep ".md|.tf" | grep -v README.md | sort | while read f; do terrafmt fmt $f; done

I'm getting "terrafmt: error reading path (9f): stat 9f: no such file or directory" otherwise, which looks the same as the workflows I see here.

matt-FFFFFF commented 1 year ago

thanks - this is a copy paste error from the makefile. - fixed in #39