-
Notifications
You must be signed in to change notification settings - Fork 640
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
cloudflare_certificate_pack doesn't notice when the resource is deleted from the UI #2461
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Terraform debug log detected ✅ |
I see the above request for debug output but I don't really have anything to provide since I'm not getting an error. Let me know if there's more info I can provide, but it seems that the main issue here is that the provider is not accounting for things in a |
the debug log would be helpful here to make sure you are infact getting the correct response. i would expect the request to return a 404 (which we can catch) but do want to confirm that before we add it here. |
Done, provided apply for a cert being created, then deleted it in the GUI, then provided the subsequent clean plan that should instead have tried to recreate the cert. |
This functionality has been released in v4.8.0 of the Terraform Cloudflare Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
Confirmation
Terraform and Cloudflare provider version
Terraform v1.4.6
on darwin_amd64
Affected resource(s)
cloudflare_certificate_pack
Terraform configuration files
Link to debug output
https://gist.github.com/evanrappe/b7a804bb885169722c6af9d319e0fd43
Panic output
No response
Expected output
I'd expect Terraform to notice that the cert pack was deleted and attempt to recreate it.
Actual output
Steps to reproduce
Additional factoids
List Certificate Packs
, the cert pack in question (and still in the state) is not listed, only the active ones that you can see in the console.Get Certificate Pack
using the ID of the resource in the state, it returns output like I've pasted below, note thedeleted
status.The text was updated successfully, but these errors were encountered: