Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: package.py not found with -chdir option
  • Loading branch information
Alex Jones committed Mar 29, 2021
commit c17de380f2c1b10a2544a6daf9def20ea825c83e
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