From c1c162c5fd6e7c8f65c9b4095a13489640fdfe2e Mon Sep 17 00:00:00 2001 From: modridi Date: Fri, 18 Feb 2022 14:49:24 +0100 Subject: [PATCH] fix: wait for app removel before deleting the project --- modules/main.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/main.tf b/modules/main.tf index 187ff84..e6272ee 100644 --- a/modules/main.tf +++ b/modules/main.tf @@ -37,6 +37,8 @@ resource "argocd_application" "this" { namespace = var.argocd_namespace } + wait = true + spec { project = argocd_project.this.metadata.0.name