Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: lifecycle of ibm_container_vpc_worker_pool when cluster is deleted #4539

Merged
merged 1 commit into from
Apr 25, 2023

Conversation

kavya498
Copy link
Collaborator

@kavya498 kavya498 commented Apr 25, 2023

Manage lifecycle of ibm_container_vpc_worker_pool resource when cluster is deleted.

To avoid below mentioned issues.

 2023/04/24 08:49:38 Terraform refresh | Error: [ERROR] Error getting container vpc workerpool: Request failed with status code: 404, ServerErrorResponse: {"incidentID":"3d0113c7-40b6-4ce0-9d8c-59384ed4acff","code":"G0004","description":"The specified cluster could not be found. If applicable, make sure that you target the correct account and resource group.","type":"General","recoveryCLI":"To list the clusters you have access to, run 'ibmcloud ks cluster ls'. To list the resource groups that you have access to, run 'ibmcloud resource groups'. To target the resource group, run 'ibmcloud target -g \u003cresource_group\u003e'."}
 2023/04/24 08:49:38 Terraform refresh | 
 2023/04/24 08:49:38 Terraform refresh |   with module.ocp_all_inclusive.module.ocp_base.ibm_container_vpc_worker_pool.pool["transit"],
 2023/04/24 08:49:38 Terraform refresh |   on .terraform/modules/ocp_all_inclusive.ocp_base/main.tf line 179, in resource "ibm_container_vpc_worker_pool" "pool":
 2023/04/24 08:49:38 Terraform refresh |  179: resource "ibm_container_vpc_worker_pool" "pool" {
 2023/04/24 08:49:38 Terraform refresh | 

@kavya498 kavya498 merged commit b402ff4 into IBM-Cloud:master Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants