[bug] Qhub fails to destroy on AWS instance #1081
Labels
area: terraform 💾
needs: investigation 🔍
Someone in the team needs to find the root cause and replicate this bug
provider: AWS
type: bug 🐛
Something isn't working
Describe the bug
Fresh install of qhub (version
0.4.0.dev86+g9fb62c8
based onmain:9fb62c812e
), failed to destroy instance:I spotted this error before, and I was able to fix it by manually deleting the ELB (Elastic Load Balancer) assigned to the vpn, then deleting the vpn (as qhub has no condition to delete the resource for some weird reason).
How to reproduce
Steps to recreate:
qhub init aws --project=qhubstages --domain awsqhubstages.qhub.dev --auth-provider=password --terraform-state=local --ci-provider=github-actions
qhub deploy -c qhub-config.yaml --disable-prompt --dns-provider cloudflare --dns-auto-provision
(do not execute the dns auto-provision bit if you need to do a redeployment)Expected behavior
Observations
I am not sure why this is happening, maybe the ELB is created from the provider, and terraform does not have control over it? or we just need to change the order of deletion (simple thoughts here)
The text was updated successfully, but these errors were encountered: