Difference between revisions of "Path.module"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
* https://developer.hashicorp.com/terraform/language/expressions/references#filesystem-and-workspace-info | * https://developer.hashicorp.com/terraform/language/expressions/references#filesystem-and-workspace-info | ||
+ | |||
+ | |||
+ | [[user_data]] = [[templatefile]]("${path.module}/assets/your_instance_data.tftpl", {}) | ||
Latest revision as of 17:31, 6 April 2023
user_data = templatefile("${path.module}/assets/your_instance_data.tftpl", {})
path.root path.cwd
See also[edit]
Advertising: