terraform-provider-file/examples/use-cases/local_directory_basic
Matt Trachier a1147e54ec
Add local directory (#201)
* feat: add local directory management
---------

Signed-off-by: matttrach <matt.trachier@suse.com>
2025-10-01 13:16:45 -05:00
..
README.md Add local directory (#201) 2025-10-01 13:16:45 -05:00
backend.tf Add local directory (#201) 2025-10-01 13:16:45 -05:00
main.tf Add local directory (#201) 2025-10-01 13:16:45 -05:00
outputs.tf Add local directory (#201) 2025-10-01 13:16:45 -05:00
variables.tf Add local directory (#201) 2025-10-01 13:16:45 -05:00
versions.tf Add local directory (#201) 2025-10-01 13:16:45 -05:00

README.md

Local Directory Use Case

This is the most basic use case for adding a directory. It creates the directory at the path specified, generating all subdirectories necessary to do so. It records the created directories and deletes only the ones it created on destroy.

This example will only set the required fields, all options accept the default value.