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 Dedicated Host Deleting issue. #8221

Merged
merged 1 commit into from
Aug 24, 2020
Merged

Conversation

lrxtom2
Copy link
Contributor

@lrxtom2 lrxtom2 commented Aug 24, 2020

Fix the issue
Error: errors during apply: Error deleting Dedicated Host Group "acctest-DHG-200822170337649258" (Resource Group "ACCTESTRG-COMPUTE-200822170337649258"): compute.DedicatedHostGroupsClient#Delete: Failure sending request: StatusCode=409 -- Original Error: autorest/azure: Service returned an error. Status=<nil> Code="CannotDeleteResource" Message="Can not delete resource before nested resources are deleted."

go test -v -timeout=0 -count=10 -run TestAccAzureRMDedicatedHost_basic
=== RUN TestAccAzureRMDedicatedHost_basic
=== PAUSE TestAccAzureRMDedicatedHost_basic
=== CONT TestAccAzureRMDedicatedHost_basic
--- PASS: TestAccAzureRMDedicatedHost_basic (338.32s)
=== RUN TestAccAzureRMDedicatedHost_basic
=== PAUSE TestAccAzureRMDedicatedHost_basic
=== CONT TestAccAzureRMDedicatedHost_basic
--- PASS: TestAccAzureRMDedicatedHost_basic (331.00s)
=== RUN TestAccAzureRMDedicatedHost_basic
=== PAUSE TestAccAzureRMDedicatedHost_basic
=== CONT TestAccAzureRMDedicatedHost_basic
--- PASS: TestAccAzureRMDedicatedHost_basic (337.11s)
=== RUN TestAccAzureRMDedicatedHost_basic
=== PAUSE TestAccAzureRMDedicatedHost_basic
=== CONT TestAccAzureRMDedicatedHost_basic
--- PASS: TestAccAzureRMDedicatedHost_basic (380.68s)
=== RUN TestAccAzureRMDedicatedHost_basic
=== PAUSE TestAccAzureRMDedicatedHost_basic
=== CONT TestAccAzureRMDedicatedHost_basic
--- PASS: TestAccAzureRMDedicatedHost_basic (337.43s)
=== RUN TestAccAzureRMDedicatedHost_basic
=== PAUSE TestAccAzureRMDedicatedHost_basic
=== CONT TestAccAzureRMDedicatedHost_basic
--- PASS: TestAccAzureRMDedicatedHost_basic (330.48s)
=== RUN TestAccAzureRMDedicatedHost_basic
=== PAUSE TestAccAzureRMDedicatedHost_basic
=== CONT TestAccAzureRMDedicatedHost_basic
--- PASS: TestAccAzureRMDedicatedHost_basic (390.69s)
=== RUN TestAccAzureRMDedicatedHost_basic
=== PAUSE TestAccAzureRMDedicatedHost_basic
=== CONT TestAccAzureRMDedicatedHost_basic
--- PASS: TestAccAzureRMDedicatedHost_basic (337.80s)
=== RUN TestAccAzureRMDedicatedHost_basic
=== PAUSE TestAccAzureRMDedicatedHost_basic
=== CONT TestAccAzureRMDedicatedHost_basic
--- PASS: TestAccAzureRMDedicatedHost_basic (332.35s)
=== RUN TestAccAzureRMDedicatedHost_basic
=== PAUSE TestAccAzureRMDedicatedHost_basic
=== CONT TestAccAzureRMDedicatedHost_basic
--- PASS: TestAccAzureRMDedicatedHost_basic (335.17s)
PASS
ok github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/compute/tests 3451.244s

@ghost ghost added the size/XS label Aug 24, 2020
Copy link
Contributor

@tombuildsstuff tombuildsstuff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@tombuildsstuff tombuildsstuff added this to the v2.25.0 milestone Aug 24, 2020
@tombuildsstuff tombuildsstuff merged commit b9c2b6f into hashicorp:master Aug 24, 2020
tombuildsstuff added a commit that referenced this pull request Aug 24, 2020
@lrxtom2 lrxtom2 deleted the dedicate branch August 24, 2020 13:59
@ghost
Copy link

ghost commented Aug 27, 2020

This has been released in version 2.25.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example:

provider "azurerm" {
    version = "~> 2.25.0"
}
# ... other configuration ...

@ghost
Copy link

ghost commented Sep 23, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators Sep 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants