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

Error removing Internal Load Balancer backend (VM-Series) without removing the Load Balancer #43

Open
pavelrn opened this issue Sep 20, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@pavelrn
Copy link
Contributor

pavelrn commented Sep 20, 2024

Describe the bug

If delete a VM-Series instance from Terraform code without deleting the Load Balancer first an error is generated:

local_sensitive_file.init_cfg["fw-vmseries-01"]: Destroying... [id=6e5ef92124063d0b3c82df73f0ca0b9fc75e66a1]
local_sensitive_file.init_cfg["fw-vmseries-01"]: Destruction complete after 0s
local_file.bootstrap_xml["fw-vmseries-01"]: Destroying... [id=c3bc376e73be0af5226c384c3e4401dc931982d8]
local_file.bootstrap_xml["fw-vmseries-01"]: Destruction complete after 0s
module.vmseries["fw-vmseries-01"].google_compute_instance_group.this[0]: Destroying... [id=projects/.../zones/us-east1-b/instanceGroups/example-ipv6-fw-vmseries-01-us-east1-b]
╷
│ Error: Error deleting InstanceGroup: googleapi: Error 400: The instance_group resource 'projects/.../zones/us-east1-b/instanceGroups/example-ipv6-fw-vmseries-01-us-east1-b' is already being used by 'projects/.../regions/us-east1/backendServices/example-ipv6-external-lb-ipv4-ipv6', resourceInUseByAnotherResource
│ 
│ 
╵

Module Version

2.0.7

Terraform version

No response

Expected behavior

VM-Series can be deleted without deleting Internal Load Balancer.

Current behavior

As described above

Anything else to add?

No response

@pavelrn pavelrn added the bug Something isn't working label Sep 20, 2024
@pavelrn pavelrn self-assigned this Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant