From 57a3c69c37f878b11e9a709b59067d048a002fa3 Mon Sep 17 00:00:00 2001 From: badra001 Date: Thu, 14 Oct 2021 12:56:55 -0400 Subject: [PATCH] add dependency --- patch-aws-auth/main.tf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/patch-aws-auth/main.tf b/patch-aws-auth/main.tf index d4232e7..e94433b 100644 --- a/patch-aws-auth/main.tf +++ b/patch-aws-auth/main.tf @@ -186,8 +186,10 @@ resource "null_resource" "remove_temporary_files" { provisioner "local-exec" { working_dir = "${path.root}/setup" - command = "rm ${local.tmp_filename_prefix}.*" + command = "rm -f ${local.tmp_filename_prefix}.*" } + + depends_on = [null_resource.kubeconfig, null_resource.patch-aws-auth] } # output "map" {