Skip to content

Commit

Permalink
feat: Remove timeout configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandrTitov committed Sep 18, 2023
1 parent 7dbc01e commit fd5456b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 20 deletions.
13 changes: 3 additions & 10 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
10 changes: 0 additions & 10 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
}

0 comments on commit fd5456b

Please sign in to comment.