From c85974744a6bea7daee7cef94b46f57ac542fa3f Mon Sep 17 00:00:00 2001
From: Vince Chan <15341873+chan-vince@users.noreply.github.com>
Date: Wed, 28 May 2025 12:44:29 +0100
Subject: [PATCH] replace timestamp() with plantimestamp()
---
modules/service/README.md | 2 +-
modules/service/variables.tf | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/service/README.md b/modules/service/README.md
index 4faaf8f1..9296ad7f 100644
--- a/modules/service/README.md
+++ b/modules/service/README.md
@@ -318,7 +318,7 @@ module "ecs_service" {
| [tasks\_iam\_role\_tags](#input\_tasks\_iam\_role\_tags) | A map of additional tags to add to the IAM role created | `map(string)` | `{}` | no |
| [tasks\_iam\_role\_use\_name\_prefix](#input\_tasks\_iam\_role\_use\_name\_prefix) | Determines whether the IAM role name (`tasks_iam_role_name`) is used as a prefix | `bool` | `true` | no |
| [timeouts](#input\_timeouts) | Create, update, and delete timeout configurations for the service | `map(string)` | `{}` | no |
-| [triggers](#input\_triggers) | Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `timestamp()` | `any` | `{}` | no |
+| [triggers](#input\_triggers) | Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `plantimestamp()` | `any` | `{}` | no |
| [volume](#input\_volume) | Configuration block for volumes that containers in your task may use | `any` | `{}` | no |
| [wait\_for\_steady\_state](#input\_wait\_for\_steady\_state) | If true, Terraform will wait for the service to reach a steady state before continuing. Default is `false` | `bool` | `null` | no |
| [wait\_until\_stable](#input\_wait\_until\_stable) | Whether terraform should wait until the task set has reached `STEADY_STATE` | `bool` | `null` | no |
diff --git a/modules/service/variables.tf b/modules/service/variables.tf
index 9a55e989..e457f7d6 100644
--- a/modules/service/variables.tf
+++ b/modules/service/variables.tf
@@ -183,7 +183,7 @@ variable "timeouts" {
}
variable "triggers" {
- description = "Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `timestamp()`"
+ description = "Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `plantimestamp()`"
type = any
default = {}
}