Error for cloudflare_list_item when same hostname but different path #3269
Labels
kind/bug
Categorizes issue or PR as related to a bug.
service/lists
Categorizes issue or PR as related to the Lists 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.6.6
on darwin_amd64
Affected resource(s)
cloudflare_list_item
Terraform configuration files
Link to debug output
https://gist.github.com/7jPUn4w8caDX/b41ae88c7efdabbd716cfda15b5c3dd7
Panic output
╷
│ Error: failed to create list item:
│
│ with cloudflare_list_item.item_1,
│ on main.tf line 9, in resource "cloudflare_list_item" "item_1":
│ 9: resource "cloudflare_list_item" "item_1" {
│
│ failed to match exactly one list item: %!w()
╵
Expected output
Terraform to complete the creation of two Redirect items inside a list with no issues.
Actual output
Terraform apply fails with the provided message. However the Cloudflare GUI shows the changes took place as desired.
Steps to reproduce
Additional factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: