You can find general overview of Terraform in ITDOC
You can find examples in README.md of each module folder, e.g. for Redis