Difference between revisions of "Path.module"
Jump to navigation
Jump to search
(2 intermediate revisions by 2 users not shown) | |||
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", {}) | ||
[[path.root]] | [[path.root]] | ||
+ | [[path.cwd]] | ||
+ | |||
+ | == See also == | ||
+ | * {{terraform workspace}} | ||
+ | * {{Terraform Workspaces}} | ||
+ | |||
+ | [[Category:Terraform]] |
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: