From b5887c1d5a71710aee30eb1258e3cdcbe1d58cac Mon Sep 17 00:00:00 2001 From: Chris Long Date: Sun, 14 Jun 2020 18:56:14 -0700 Subject: [PATCH] Fix file paths for TF --- Azure/Terraform/main.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Azure/Terraform/main.tf b/Azure/Terraform/main.tf index 79d1244..4308d74 100644 --- a/Azure/Terraform/main.tf +++ b/Azure/Terraform/main.tf @@ -391,7 +391,7 @@ resource "azurerm_virtual_machine" "dc" { pass = "oobeSystem" component = "Microsoft-Windows-Shell-Setup" setting_name = "FirstLogonCommands" - content = file("./files/FirstLogonCommands.xml") + content = file("${path.module}/files/FirstLogonCommands.xml") } } @@ -448,7 +448,7 @@ resource "azurerm_virtual_machine" "wef" { pass = "oobeSystem" component = "Microsoft-Windows-Shell-Setup" setting_name = "FirstLogonCommands" - content = file("./files/FirstLogonCommands.xml") + content = file("${path.module}/files/FirstLogonCommands.xml") } } @@ -505,7 +505,7 @@ resource "azurerm_virtual_machine" "win10" { pass = "oobeSystem" component = "Microsoft-Windows-Shell-Setup" setting_name = "FirstLogonCommands" - content = file("./files/FirstLogonCommands.xml") + content = file("${path.module}/files/FirstLogonCommands.xml") } }