Perpetual drift from Access mTLS cert associated hostname reordering #3436
Labels
kind/bug
Categorizes issue or PR as related to a bug.
service/access
Categorizes issue or PR as related to the Access 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
Milestone
Confirmation
Terraform and Cloudflare provider version
Terraform v1.9.1
on darwin_amd64
Affected resource(s)
Terraform configuration files
Link to debug output
https://gist.github.com/bporter816/a339f01e2c2ea6107279e589bb5d21b5
Panic output
No response
Expected output
When the ordering of associated hostnames returned from the Cloudflare API differs from the ordering in Terraform, we expect one of two outcomes:
Actual output
If the ordering differs, we get a permanent drift, like so:
Both applying this change through Terraform and directly through the Cloudflare API does not actually reflect the new ordering on the server side, and the drift continues to show up in subsequent runs. We could work around this if the ordering was deterministic and something we could account for in our Terraform config (if it is, please advise and we can take that approach) but we notice that even for the same list of hostnames, they are returned in a different order on different certs.
Steps to reproduce
Additional factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: