v5.0.0 cloudflare_list_item.comment "Cannot set value for this attribute as the provider has marked it as read-only" #5040
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
Confirmation
Terraform and Cloudflare provider version
Terraform v1.10.5
on darwin_arm64
Affected resource(s)
cloudflare_list_item
Terraform configuration files
Link to debug output
cannot provide, simple enough to test with above snippet
Panic output
No response
Expected output
Plan/apply succeeds normally and updates the comment.
Actual output
│ Error: Invalid Configuration for Read-Only Attribute
│
│ with cloudflare_list_item.item,
│ on file.tf line 54, in resource "cloudflare_list_item" "item":
│ 54: comment = "comment1"
│
│ Cannot set value for this attribute as the provider has marked it as read-only. Remove the configuration line setting the value.
│
│ Refer to the provider documentation or contact the provider developers for additional information about configurable and read-only attributes that are supported.
Steps to reproduce
Additional factoids
The documentation is all over the place:
https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/list_item
It talks about a body {} element which is not documented in any way, nor can one use a body element:
│ Blocks of type "body" are not expected here.
References
No response
The text was updated successfully, but these errors were encountered: