Skip to content

Commit

Permalink
fix: package.py not found with -chdir option
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Jones committed Mar 29, 2021
1 parent fe1dfcb commit c17de38
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions package.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ data "external" "archive_prepare" {
count = var.create && var.create_package ? 1 : 0

program = [local.python, "${path.module}/package.py", "prepare"]
working_dir = path.cwd

query = {
paths = jsonencode({
Expand Down Expand Up @@ -67,7 +66,6 @@ resource "null_resource" "archive" {
"--timestamp", data.external.archive_prepare[0].result.timestamp
]
command = data.external.archive_prepare[0].result.build_plan_filename
working_dir = path.cwd
}

depends_on = [local_file.archive_plan]
Expand Down

0 comments on commit c17de38

Please sign in to comment.