Get current working directory in terraform
Terraform has a built-in object path that contains attributes for various paths Terraform knows about: path.module is the directory containing the module where the path.module expression is placed. path.root is the directory containing the root module. path.cwd is the current working directory. When writing Terraform modules, we most commonly want to resolve paths relative to … Read more