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

Dedicated host with status 'failed' throws error during destroy #2446

Closed
deepaksibm opened this issue Mar 31, 2021 · 1 comment
Closed

Dedicated host with status 'failed' throws error during destroy #2446

deepaksibm opened this issue Mar 31, 2021 · 1 comment
Labels
service/VPC Infrastructure Issues related to the VPC Infrastructure

Comments

@deepaksibm
Copy link
Contributor

Terraform Version

0.14.8

Affected Resource(s)

  • ibm_is_dedicated_host

Terraform Configuration Files

data "ibm_resource_group" "default" {
  name = "Default"
}

resource "ibm_is_dedicated_host_group" "dh_group01" {
  family = "balanced"
  class = "bx2d"
  zone = "eu-de-1"
  name = "dp-dh-group-bx2d"
  resource_group = data.ibm_resource_group.default.id
}


data "ibm_is_dedicated_host_group" "dgroup" {
	name = ibm_is_dedicated_host_group.dh_group01.name
}

resource "ibm_is_dedicated_host" "is_dedicated_host" {
  profile = "bx2d-host-152x608"
  name = "dp-dedicated-host-bx2d"
host_group = data.ibm_is_dedicated_host_group.dgroup.id
  

Debug Output

Error: DedicatedHost instance is in FAILED state

Expected Behavior

Dedicated host should be deleted without throwing error

Actual Behavior

Deletion fails throwing error saying the State is FAILED

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. terraform apply
@kavya498
Copy link
Collaborator

kavya498 commented Apr 5, 2021

Fixed in latest 1.23.0
thanks..

@kavya498 kavya498 closed this as completed Apr 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service/VPC Infrastructure Issues related to the VPC Infrastructure
Projects
None yet
Development

No branches or pull requests

2 participants