Skip to content

5.4.0: Since provider update, existing cloudflare_list_item would be recreated ("created" state) #5552

@boillodmanuel

Description

@boillodmanuel

Confirmation

  • This is a bug with an existing resource and is not a feature request or enhancement. Feature requests should be submitted with Cloudflare Support or your account team.
  • I have searched the issue tracker and my issue isn't already found.
  • I have replicated my issue using the latest version of the provider and it is still present.

Terraform and Cloudflare provider version

Terraform v1.9.8
on darwin_arm64

  • provider registry.terraform.io/cloudflare/cloudflare v5.4.0

Affected resource(s)

  • cloudflare_list_item

Terraform configuration files

any cloudflare_list_item

Link to debug output

no

Panic output

No response

Expected output

No changes

Actual output

....cloudflare_list_item.item["0.0.0.0/32"] will be created

Steps to reproduce

  • in 5.3.0, create a cloudflare_list_item
  • terraform plan shows "no changes"
  • upgrade to 5.4.0
  • terraform plan shows "Plan: 1 to add, 0 to change, 0 to destroy."

Additional factoids

No response

References

Don't know if it can help, but some code is commented: https://github.com/cloudflare/terraform-provider-cloudflare/blame/6c081d968ecdcae57dfbe846f650b20e25be5966/internal/services/list_item/resource.go

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.version/5Categorizes issue or PR as related to version 5 of the provider.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions