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

Resource avi_cluster fails on destroy #593

Open
cneu-bc opened this issue Apr 24, 2024 · 0 comments
Open

Resource avi_cluster fails on destroy #593

cneu-bc opened this issue Apr 24, 2024 · 0 comments
Labels

Comments

@cneu-bc
Copy link

cneu-bc commented Apr 24, 2024

Describe the bug

We are running version 22.1.6 of the provider (matching the deployed AVI version).

When running terraform destroy the avi_cluster resource fails to be destroyed returning the error message

Encountered an error on DELETE request to URL https://192.168.0.213/api/cluster/cluster-f2bf8b9d-fa77-41c6-bf84-5409aed50b02: HTTP code: 405; error from Controller: map[detail:Method 'DELETE' not allowed.]

Reproduction steps

using https://github.com/vmware/terraform-provider-avi/tree/eng/examples/vmware/vsphere_steps/04_avi_cluster

  1. run terraform apply
  2. run terraform destroy

Expected behavior

The avi_cluster resource does not issue a DELETE request to the AVI API, as this is not allowed.
The avi_cluster resource in terraform is removed and not throwing an error.

Additional context

No response

@cneu-bc cneu-bc added the bug label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant