We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b9857d commit a71f6aeCopy full SHA for a71f6ae
2 files changed
main.tf
@@ -39,7 +39,7 @@ resource "aws_codebuild_project" "codebuild_project" {
39
type = "GITHUB"
40
location = var.git_repo
41
git_clone_depth = var.git_clone_depth
42
- buildspec = templatefile("${path.module}/${var.build_spec_file}", {})
+ buildspec = templatefile("${path.cwd}/${var.build_spec_file}", {})
43
git_submodules_config {
44
fetch_submodules = true
45
}
variable.tf
@@ -14,7 +14,7 @@ variable "project_name" {
14
15
16
variable "git_repo" {
17
- description = "Github repo "
+ description = "Github repo (FullPath for to pull via git clone) "
18
default = "https://github.com/aws-ia/terraform-modules-examples"
19
20
0 commit comments