Skip to content

Commit de8575f

Browse files
authored
fix: do not execute build-run if build is not passed as an input (#205)
1 parent 4994d03 commit de8575f

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
@@ -90,6 +90,7 @@ module "build" {
9090
}
9191

9292
resource "null_resource" "run_build" {
93+
count = length(local.updated_builds) > 0 ? 1 : 0
9394
depends_on = [module.build]
9495
provisioner "local-exec" {
9596
interpreter = ["/bin/bash", "-c"]

0 commit comments

Comments
 (0)