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

[BUG] - Failed to delete reserved IPs #348

Open
idy opened this issue Apr 16, 2023 · 1 comment
Open

[BUG] - Failed to delete reserved IPs #348

idy opened this issue Apr 16, 2023 · 1 comment
Assignees
Labels

Comments

@idy
Copy link

idy commented Apr 16, 2023

Describe the bug
Failed to remove reserved IPs.

To Reproduce
Steps to reproduce the behavior:

  1. Add a reserved IP address with terraform-apply
  2. Remove it from config file and run terraform-apply

Expected behavior
The reserved IP removed success.

Screenshots

Error: error destroying Reserved IP (537eb479-6c77-4f21-b9c7-d82663d298f0): {"error":"Unable to detach subnet, please restart your server from the control panel","status":400}

Desktop (please complete the following information where applicable:
Terraform v1.4.2
on darwin_arm64

  • provider registry.terraform.io/vultr/vultr v2.10.1
@idy idy added the bug label Apr 16, 2023
@idy idy changed the title [BUG] - Enter a descriptive title [BUG] - Failed to delete reserved IPs Apr 16, 2023
@optik-aper optik-aper self-assigned this Apr 28, 2023
@optik-aper
Copy link
Member

It looks like you're attaching the reserved IP to an instance. If you get a chance, it would be helpful to see the config you're using. I think it's just passing the error from API here, so, we might need to add some code to handle removing reserved IPs that are attached to an instance which is being preserved.

@optik-aper optik-aper mentioned this issue May 10, 2023
3 tasks
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

2 participants