diff --git a/docs/functions/direxists.md b/docs/functions/direxists.md new file mode 100644 index 00000000..3f919fcc --- /dev/null +++ b/docs/functions/direxists.md @@ -0,0 +1,26 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "direxists function - terraform-provider-local" +subcategory: "" +description: |- + Determines whether a directory exists at a given path. +--- + +# function: direxists + +Given a path string, will return true if the directory exists. This function works only with directories. If used with a regular file, FIFO, or other special mode, it will return an error. + + + +## Signature + + +```text +direxists(path string) bool +``` + +## Arguments + + +1. `path` (String) Relative or absolute path to check for the existence of a directory +