From b9bee14f3024ca7b9ae4ff43f209c7a58374c334 Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Thu, 4 May 2023 22:53:16 -0400 Subject: [PATCH] infra/main.tf: Adjust deployment script to account for unchange site file timestamps * infra/main.tf: See 93dfdb0 for more detail regarding the deployment issue. In addition, have the deployment script correctly fail if any command does not succeed. --- infra/main.tf | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/infra/main.tf b/infra/main.tf index eaa7910..d7b6028 100644 --- a/infra/main.tf +++ b/infra/main.tf @@ -389,6 +389,8 @@ resource "null_resource" "deploy_app" { provisioner "local-exec" { interpreter = ["bash", "-c"] command = <