This example demonstrates how to control output file locations using get_terragrunt_dir().

The hi.txt files will be created directly in the foo and bar directories instead of the .terragrunt-cache directory. 