From 62b377b89677c97db4dcf2260cee0d8fabe2a719 Mon Sep 17 00:00:00 2001 From: Prasiddha Bista <42393225+boltdynamics@users.noreply.github.com> Date: Tue, 18 Jul 2023 18:22:14 +1000 Subject: [PATCH] feat(xplorers-bot-ts): queue with same name can only be recreated after 7 days (#17) --- terraform/main.tf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/terraform/main.tf b/terraform/main.tf index f717fd0..16830ab 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -100,7 +100,9 @@ resource "google_project_iam_member" "xplorers_bot_function_custom_role_binding" } resource "google_cloud_tasks_queue" "xplorers_bot_queue" { - name = "xplorers-bot-queue-${terraform.workspace}" + /* Todo: remove the -tmp in the next Pull Request + https://cloud.google.com/tasks/docs/deleting-appengine-queues-and-tasks#deleting_queues*/ + name = "xplorers-bot-queue-${terraform.workspace}-tmp" project = var.project_id location = var.region rate_limits {