From fd5456b42a6cb8aba5ca99146e5a5714e41bbeeb Mon Sep 17 00:00:00 2001 From: Aleksandr Titov Date: Mon, 18 Sep 2023 15:27:11 +0300 Subject: [PATCH] feat: Remove timeout configuration --- main.tf | 13 +++---------- variables.tf | 10 ---------- 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/main.tf b/main.tf index 4130890..a18d16d 100644 --- a/main.tf +++ b/main.tf @@ -3,16 +3,9 @@ locals { } resource "huaweicloud_vpc_address_group" "main" { - name = local.name - region = var.region - ip_version = var.ip_version - + name = local.name + region = var.region + ip_version = var.ip_version addresses = var.addresses description = var.description - - timeouts { - create = var.timeouts.create - update = var.timeouts.update - delete = var.timeouts.delete - } } diff --git a/variables.tf b/variables.tf index 2fad6bf..ea1f674 100644 --- a/variables.tf +++ b/variables.tf @@ -40,13 +40,3 @@ variable "description" { type = string default = null } - -variable "timeouts" { - description = "Address group timeouts configuration in minutes" - type = object({ - create = optional(number, 5) - update = optional(number, 5) - delete = optional(number, 5) - }) - default = {} -}