-
Notifications
You must be signed in to change notification settings - Fork 99
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
Terraform does not destroy Edge Hostnames #504
Comments
Thank you for letting us know you've got interest in this functionality. We've looked into this in the past, but because of the risk potential, we erred on the side of safety. However, your request does resurface its need, so we'll revisit its potential and get back to you when we know more. |
In enhanced TLS, the edgehostname "certificate" field must point to a certificate enrollment id. Is that a dependency for deletion? |
We are running into the same issue and is mainly causing issue with testing our automation flows. Since we cannot redeploy a configuration because of the already existing edge-hostname. But also for PRD deployments I can already see there are edge-hostname left which should have been deleted. It would really help us this destroy feature is working as expected. |
Can this issue be changed to a bug instead on an enhancement request, since the behavior is not matching with the output? |
Just to let you know, we are considering adding this functionality. We need to do it in a way, that would be safe to our users not to harm themselves by accident. I cannot confirm any dates yet, but topic is high on the list of pottential new features. |
Glad to hear this is getting some attention.
Isn't this the case for pretty much any resource managed by Terraform? As a Terraform user I expect that if I ask Terraform to destroy a resource, it will do exactly that: delete the resource, utilising the dependency graph to determine ordering and respecting any usage of resource lifecycle flags, such as When providers, such as Akamai, decide to opt out of this well understood behaviour it makes their products and services very difficult to manage using Terraform. Furthermore, not documenting the behaviour anywhere makes debugging frustrating and time consuming for users. |
Hi there,
Terraform Version
Terraform v1.5.7
on darwin_arm64
Affected Resource(s)
Terraform Configuration Files
Problem
Terraform doesn't destroy the Edge Hostname when running 'terraform destroy'.
Expected Behavior
When I run
terraform destroy
it will destroy the local terraform resource and the Edge Hostname in Akamai.Actual Behavior
If I run 'terraform destroy' it will destroy the local terraform resource but not the Akamai Edge Hostname.
Steps to Reproduce
terraform apply
).terraform destroy
The text was updated successfully, but these errors were encountered: