From 91fab82e64085404be422fdf8c5ceaed7ecba6e8 Mon Sep 17 00:00:00 2001 From: Markiian Slipets Date: Thu, 26 Sep 2024 16:01:51 +0300 Subject: [PATCH] fix: redeployment_trigger: replace timestamp() with plantimestamp() REF: https://github.com/hashicorp/terraform-provider-aws/issues/28070 --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 1ef45857..add11a74 100644 --- a/main.tf +++ b/main.tf @@ -13,7 +13,7 @@ locals { volumes = concat(var.docker_volumes, var.efs_volumes, var.fsx_volumes, var.bind_mount_volumes) redeployment_trigger = var.force_new_deployment && var.redeploy_on_apply ? { - redeployment = timestamp() + redeployment = plantimestamp() } : {} task_policy_arns_map = merge({ for i, a in var.task_policy_arns : format("_#%v_", i) => a }, var.task_policy_arns_map)