Skip to content

Commit 28e7758

Browse files
author
akocbek
committed
fix: do not run build run if builds are not passed in
1 parent 3519489 commit 28e7758

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

solutions/project/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ module "build" {
9191

9292
resource "terraform_data" "run_build" {
9393
depends_on = [module.build]
94+
count = length(local.updated_builds) > 0 ? 1 : 0
9495

9596
provisioner "local-exec" {
9697
interpreter = ["/bin/bash", "-c"]

0 commit comments

Comments
 (0)