For administrators

Deleting a cluster

2min
prerequesties make sure the hosty blueprint is applied and you are using the user generated by hosty blueprint running tofu plan shouldn't result in any changes detected destroying a cluster as a first step, enable public access to the eks cluster endpoints and perform tofu apply this is to ensure that we can still access the eks cluster endpoints, once vpn for the cluster is deleted from aws as a second step, delete all projectes from the cluster then, perform tofu destroy target=module cluster \<clustername and confirm the operation for example tofu destroy target=module cluster phoenix the operation will take a while ( 10 15 minutes) make sure not to interrupt the operation open main tf file and comment out or remove a the target cluster definition also, remove or comment out any project hosted on this cluster from locals projects variable run tofu plan again to make sure there are no more pending changes