From 397002eeb6107ae889259a1f5f0cb85187fee3c1 Mon Sep 17 00:00:00 2001 From: catrielg <122532038+catrielg@users.noreply.github.com> Date: Sun, 28 Jul 2024 08:55:55 +0300 Subject: [PATCH] Update variables.tf - lambda_skip_destroy --- variables.tf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/variables.tf b/variables.tf index 42a18fe5..5cb94966 100644 --- a/variables.tf +++ b/variables.tf @@ -254,6 +254,12 @@ variable "timeouts" { default = {} } +variable "lambda_skip_destroy" { + description = "(Optional) Set to true if you do not wish the function to be deleted at destroy time, and instead just remove the function from the Terraform state." + type = bool + default = null +} + ############### # Function URL ###############