Difference between revisions of "Path.module"
Jump to navigation
Jump to search
(One intermediate revision by one other user 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]] | [[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: