Infinite duration of terraform apply
Closed this issue · 1 comments
ptucholski commented
The following code results with infinite duration of terraform apply
. This behaviour is persistent. It behaves same way if the partition creation and all other resources are seperated into two modules and apply is done twice.
This is the environment
terraform version: 1.0.1 and 0.15.4
vThunder: 4.1.1-P13 build 27
This is the verbose log of the provider.
thunder.log
terraform {
required_providers {
thunder = {
source = "a10networks/thunder"
version = "0.4.26"
}
}
}
provider "thunder" {
address = "10.17.31.245"
username = var.a10_user
password = var.a10_password
partition = "a10-ter-poc-1"
}
provider "thunder" {
address = "10.17.31.245"
username = var.a10_user
password = var.a10_password
alias = "thunder_root"
}
resource "thunder_partition" "partition" {
provider = thunder.thunder_root
user_tag = "tag1"
partition_name = "a10-ter-poc-1"
application_type = "adc"
id1 = 8
}
resource "thunder_server" "rs10" {
depends_on = [thunder_partition.partition]
health_check_disable = 1
name = "rs10"
host = "10.0.3.2"
port_list {
health_check_disable = 1
port_number = 8080
protocol = "tcp"
}
}
resource "thunder_server" "rs11" {
depends_on = [thunder_partition.partition]
health_check_disable = 1
name = "rs11"
host = "10.0.3.3"
port_list {
health_check_disable = 1
port_number = 8080
protocol = "tcp"
}
}
resource "thunder_server" "rs12" {
depends_on = [thunder_partition.partition]
health_check_disable = 1
name = "rs12"
host = "10.0.3.4"
port_list {
health_check_disable = 1
port_number = 8080
protocol = "tcp"
}
}
resource "thunder_service_group" "test_group" {
depends_on = [thunder_partition.partition]
name = "test_pool_group_dev"
protocol = "TCP"
member_list {
name = thunder_server.rs10.name
port = 8080
}
member_list {
name = thunder_server.rs11.name
port = 8080
}
member_list {
name = thunder_server.rs12.name
port = 8080
}
}
resource "thunder_virtual_server" "test_virtual" {
depends_on = [thunder_partition.partition]
name = "VS_10.17.64.81"
ip_address = "10.17.64.81"
# vrid = 4
port_list {
port_number = 80
protocol = "http"
service_group = thunder_service_group.test_group.name
}
}
arpitgupta-a10 commented
Please use latest terraform-provider-thunder "v0.5.2-beta",
I haven't observe any such issue.
terraform {
required_providers {
thunder = {
source = "a10networks/thunder"
version = "0.5.2-beta"
}
}
}
please let me know if you still observe this issue