diff --git a/alz/github/actions/terraform/templates/workflows/cd-template.yaml b/alz/github/actions/terraform/templates/workflows/cd-template.yaml index 053a27e..4d9f1b8 100644 --- a/alz/github/actions/terraform/templates/workflows/cd-template.yaml +++ b/alz/github/actions/terraform/templates/workflows/cd-template.yaml @@ -66,7 +66,7 @@ jobs: Copy-Item -Path "./*" -Exclude @(".git", ".terraform", ".github", $stagingDirectory) -Recurse -Destination "./$stagingDirectory" $rootModuleFolderTerraformFolder = Join-Path -Path "./$stagingDirectory" -ChildPath $rootModuleFolder -AdditionalChildPath ".terraform" - if(Test-Path -Path $rootModuleFolderTerraformFolder){ + if(Test-Path -Path $rootModuleFolderTerraformFolder) { Remove-Item -Path $rootModuleFolderTerraformFolder -Recurse -Force }