Closed kingsleyck closed 1 year ago
Nutanix Prism Central: pc.2022.6.0.1
Terraform v1.3.7 on windows_amd64
provider registry.terraform.io/nutanix/nutanix v1.7.1
resource "nutanix_karbon_cluster"
resource "nutanix_karbon_cluster" "example_cluster" { name = "example_cluster" version = "1.18.15-1" storage_class_config { reclaim_policy = "Delete" volumes_config { file_system = "ext4" flash_mode = false password = "my_pe_pw" prism_element_cluster_uuid = "my_pe_cluster_uuid" storage_container = "my_storage_container_name" username = "my_pe_username" } } cni_config { node_cidr_mask_size = 24 pod_ipv4_cidr = "172.20.0.0/16" service_ipv4_cidr = "172.19.0.0/16" } worker_node_pool { node_os_version = "ntnx-1.0" num_instances = 1 ahv_config { network_uuid = "my_subnet_id" prism_element_cluster_uuid = "my_pe_cluster_uuid" } } etcd_node_pool { node_os_version = "ntnx-1.0" num_instances = 1 ahv_config { network_uuid = "my_subnet_id" prism_element_cluster_uuid = "my_pe_cluster_uuid" } } master_node_pool { node_os_version = "ntnx-1.0" num_instances = 1 ahv_config { network_uuid = "my_subnet_id" prism_element_cluster_uuid = "my_pe_cluster_uuid" } } }
Terraform should wait for the resource status (success | fail) or allow customizing the resource timeout.
Error: error waiting for karbon cluster to create: context deadline exceeded
In this case, the Karbon cluster is created successfully but Terraform will taint the resource and loop on destroy / create for subsequent apply.
terraform apply
PR: #563
Nutanix Cluster Information
Nutanix Prism Central: pc.2022.6.0.1
Terraform Version
Terraform v1.3.7 on windows_amd64
provider registry.terraform.io/nutanix/nutanix v1.7.1
Affected Resource(s)
resource "nutanix_karbon_cluster"
Terraform Configuration Files
Expected Behavior
Terraform should wait for the resource status (success | fail) or allow customizing the resource timeout.
Actual Behavior
In this case, the Karbon cluster is created successfully but Terraform will taint the resource and loop on destroy / create for subsequent apply.
Steps to Reproduce
terraform apply
References
0000 <!---Github Issue number --->