secret_text_bindings on cloudflare_worker_script are not removed from the worker #2393
Open
2 tasks done
Labels
kind/bug
Categorizes issue or PR as related to a bug.
service/workers
Categorizes issue or PR as related to the Workers service.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
triage/debug-log-attached
Indicates an issue or PR has a complete Terraform debug log.
workflow/synced
Confirmation
Terraform and Cloudflare provider version
Terraform v1.4.5
on darwin_arm64
cloudflare = {
source = "cloudflare/cloudflare"
version = "~> 4.3.0"
}
Affected resource(s)
Terraform configuration files
Link to debug output
https://gist.github.com/ecclesm/b513a3109a5723d8dfaff36822efb88f
Panic output
No response
Expected output
On each deploy, if am existing secret_text_binding is not included, terraform will remove it from the worker.
This expected behaviour is seen on a plain text binding.
Actual output
It looks like terraform recognises the binding needs to be removed, however the secret binding is still present on the worker after deploy.
For the below the 4 bindings were created on the initial deploy. On the following deploy I removed the second of each type, but only the plain text binding was removed.
First Run
Second Run
Steps to reproduce
Additional factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: