Closed austinvalle closed 7 months ago
terraform-plugin-docs is now updated on main 👍
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Ref: https://github.com/hashicorp/terraform/issues/33394, https://github.com/hashicorp/terraform/issues/25316, https://github.com/hashicorp/terraform/pull/29996
This PR introduces a new provide-defined function for checking the existence of a directory on the filesystem running Terraform. Similar to
fileexists
.Notes
fileexists
for consistency, but if we prefer deviating we could make some changesfalse
if "something" exists at the path but is not a directory. I'm not sure returningfalse
in that scenario is better, so I kept with consistency.function_
to follow the convention of the repository. I can also refactor all the files in this provider to match the other accepted pattern of:*_function.go
*_resource.go
*_data_source.go